RegularExpressionMatchString()

Syntax

Result$ = RegularExpressionMatchString(#RegularExpression)
Description
Returns the string that matched the #RegularExpression in the last call to NextRegularExpressionMatch().

Parameters

#RegularExpression The regular expression to use. ExamineRegularExpression() and NextRegularExpressionMatch() must have been called on this regular expression.

Return value

The sub-string that matched the regular expression.

Example

See ExamineRegularExpression() for an example.

See Also

ExamineRegularExpression(), NextRegularExpressionMatch(), RegularExpressionMatchPosition(), RegularExpressionMatchLength()

Supported OS

All

<- RegularExpressionMatchPosition() - RegularExpression Index - RegularExpressionNamedGroup() ->