{ "name": "regexp_substr", "type": "function", "groups": ["String"], "description": "Returns the portion of a string which matches a supplied regular expression.", "arguments": [{ "arg": "input_string", "description": "the string to find matches in" }, { "arg": "regex", "description": "The regular expression to match against. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character)." }], "examples": [{ "expression": "regexp_substr('abc123','(\\\\\\\\d+)')", "returns": "'123'" }], "tags": ["regular", "matches", "supplied", "portion"] }