1
Property Name | Description |
---|---|
global | whether the "g" modifier is set |
ignoreCase | whether the "i" modifier is set |
lastIndex | the character position immediately following the last match found |
multiline | whether the "m" modifier is set |
source | text of the RegExp patten |
Method Name | Description | Values |
---|---|---|
exec() | Executes the regular expression against the given string and returns an array of matches, or null if none found. | |
test() | Returns whether the regular expression matches in the given string. |