Book Image

Javascript Regular Expressions

Book Image

Javascript Regular Expressions

Overview of this book

This book is ideal for JavaScript developers and programmers who work with any type of user entry data and want sharpen their skills to become experts.
Table of Contents (8 chapters)

Chapter 3. Special Characters

In this chapter, we will be taking a look at some special characters and some more advanced techniques that will help us create more detailed Regex patterns. We will also slowly transition from using our Regex testing environment, and go back to using standard JavaScript to build more complete real-world examples.

Before we get ahead of ourselves, there are still a couple things we can learn using our current setup, starting with some constraints.

In this chapter ,we will cover the following topics:

  • Defining boundaries for a Regex
  • Defining nongreedy quantifiers
  • Defining Regex with groups