Uses a regular expression (RE) to search a string for a pattern, starting from a specified position.
reMatch(reg_expression, string)
returns array
Name | Type | Required | Default | Description |
---|---|---|---|---|
reg_expression | string | Yes | Regular expression for which to search. Case-sensitive. | |
string | string | Yes | A string or a variable that contains one. String in which to search. |
Extracts numbers from a string and returns them as an array
serializeJSON( reMatch("[0-9]+", "1 way to extract any number like 45, 38") )