RegExp Object Methods
EXEC (): the same as the match () method of the String object .
The parameter is the searched string. Returns an array or null.
Test (): The same as the search () method of the String object .
The parameter is the searched string. Returns true or false.
RegExp Object Instance Properties
Global: Boolean value that indicates whether the suffix option g in the regular expression is set.
IgnoreCase: Boolean value that indicates whether the suffix option I in the regular expression is set.
LastIndex: An integer value that represents the index of the position at which the next match begins.
Multiline: Boolean value that indicates whether the suffix option m in the regular expression is set.
SOURCE: Represents a string form of a regular expression.
RegExp Object Static Properties
$1$2$3$9 : A reference to a result string that matches a pair of expressions, $1 $9
Input ( abbreviated form $_): Matches the string used
Lastmatch ( abbreviated form $&): Represents the result of the last match
Lastparen ( abbreviated form $+): Represents the last occurrence of a sub-expression
Leftcontext (short form $ '): A string representing the last time the result was matched
Multiline ( abbreviated form $*): Specifies whether all expressions use multiline mode
Rightcontext (short form $ '): String representing the right side of the last matched string
JavaScript Regular Expression-regexp object