2015-06-11 12:02:27 +10:00
{
2015-09-20 17:12:43 +02:00
"name": "regexp_substr",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["String"],
2015-06-11 12:02:27 +10:00
"description": "Returns the portion of a string which matches a supplied regular expression.",
"arguments": [ {"arg":"input_string","description":"the string to find matches in"},
2016-12-30 00:01:08 +01:00
{"arg":"regex","description":"The regular expression to match against. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character)."}
2015-06-11 12:02:27 +10:00
],
2016-10-10 12:41:29 +10:00
"examples": [ { "expression":"regexp_substr('abc123','(\\\\\\\\d+)')", "returns":"'123'"}]
2015-06-11 12:02:27 +10:00
}