Regex
Match and extract with regular expressions (RE2 syntax).
regex
regex(pattern, str) → string | list(string)Apply a regular expression to a string and return the first match.
| Parameter | Type | Description |
|---|---|---|
pattern | string | |
str | string |
regexall
regexall(pattern, str) → list(string) | list(list(string))Apply a regular expression to a string and return all matches.
| Parameter | Type | Description |
|---|---|---|
pattern | string | |
str | string |