RegExpr Object Methods

Applies to TestComplete 15.31, last modified on March 17, 2022

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.

See Also

RegExpr Object

Highlight search results