$$matchall
Returns all matches substring from input by a pattern (and optionally group id)
Usage​
"$$matchall(<pattern>,[group]):{input}"
Returns​
string
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
pattern | string | Regex | Yes | Regular expression to match and extract from input string |
group | integer | 0 | A matching group to return |
Examples​
Input
Definition
Output
"hello"
"$$matchall([el]):$"
["e", "l", "l"]
"mother father mom dad"
"$$matchall('m(\\\\w+)',1):$"
["other", "om"]