The 'search match' activity searches for a match in a string for a reg-ex pattern and returns the match.
Uses System.RegularExpressions.TRegEx.Match
Activity properties
begin var MatchResult: TMatch; MatchResult := TRegEx.Match(StringValue, RegexPattern, []); end; |
Resulting Code
The activity returns an object of the TMatch variable. If the option 'Match collection' is chosen, the result will be a TMatchCollection