Introduction
Description
RegExp
type stores regular expressions in Javascript.
Regular expressions in Javascript has the following syntax.
var expression = /pattern/flags;
The pattern can be any simple or complicated regular expression. It can include.
- character classes
- quantifiers
- grouping
- lookaheads
- backreferences.