Searches a string for the first occurrence of a regex, beginning from the specified location, and returns a MATCH json object.
Syntax
1
regex_match_from_json(regex_id, input, startat, json_options)
Argument | Type | Description |
---|---|---|
regex_id | real | The id of the regex to use. |
input | string | The string to search. |
startat | real | The location to start from. |
json_options | real | Additional json options (JO_*). |
Returns: String (MATCH object) on success; otherwise “”
References
Exceptions
- RegexMatchTimeoutException: Returns “”