The RegExpr object contains the following methods:
Method List
Name | Description |
---|---|
Compile
|
Converts the literal regular expression into the engine’s internal representation. |
Exec
|
Searches the specified input string for the text matching the regular expression. |
ExecNext
|
Searches the input string for the next occurrence of text matching the regular expression. |
ExecPos
|
Searches for text matching the regular expression from the specified position in the input string. |
Replace
|
Replaces the found pattern match with the specified text. |
Substitute
|
Substitutes special marks in the template with found pattern matches. |