revision:
compile() : (re-)compiles a regular expression during execution of a script. Deprecated
Deprecated
exec() : executes a search for a match in its string parameter.
syntax: RegExpObject.exec(string)
test() : tests for a match in its string parameter.
syntax: RegExpObject.test(string)
toSource() : returns an object literal representing the specified object; you can use this value to create a new object.
syntax:
toString() : returns a string representing the specified object.
syntax: RegExpObject.toString()
[@@match]() : performs match to given string and returns match result.
syntax:
[@@matchAll]() : returns all matches of the regular expression against a string.
syntax:
[@@replace]() : replaces matches in given string with new substring.
syntax:
[@@search]() : searches the match in given string and returns the index the pattern found in the string.
syntax:
[@@split]() : splits given string into an array by separating the string into substrings.
syntax: