Description
Searches the specified 'string' for the first occurrence of the regular expression specified in the 'regex' parameter.
Signature
RegexMatch('string', «regex»)
Example 1
RegexMatch('abc1234def', «^abc») Returns abc
Example 2
Extract the first 3 digits from a string
RegexMatch('abc1234def'', «\d\d\d»)
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | xxxx | xxxx | xxxx |
«regex» | xxxx | xxxx | xxxx |
Notes: