regex_extract(regex, value)
regex_extract(regex, value)
will try to parse value
using the regular expression regex
and
extract the first captured group.
Superintendent follows Rust's regular expression syntax, which is heavily inspired by RE2.
#
Example 1returns:
extracted |
---|
07 |
#
Example 2returns:
extracted |
---|
#
Example 3returns:
extracted |
---|
1234 |