RegExpr Object Methods

Applies to TestComplete 15.70, last modified on December 17, 2024

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