Extract
Extracts the specified regular expression patterns from a string to an array
Extract("code: 650-33", "[0-9]{3}", "^", "$") → "650"
Extract("text text", "[o-y]", "[e]", "[xt]") → "x"
Extract("123 056", "[2-5]", "[1]", "[6]") → 2
Inputs
Extract(string, searchRegexp, startAfterRegexp, endBeforeRegexp, [index])
string
- Any text value to extract fromsearchRegexp
- Regular expression to find tostartAfterRegexp
- Regular expression to start the search afterendBeforeRegexp
- Regular expression to end the search before[index]
- [optional:O
by default**]**