Regexp
The Regexp registry includes functions for pattern matching and string manipulation using regular expressions, providing powerful text processing capabilities.
regexFind
{{ "hello world" | regexFind "hello" }} // Output: "hello"
{{ "hello world" | regexFind "\\invalid$^///" }} // ErrorregexFindAll
{{ regexFindAll "a." "aba acada afa" 3 }} // Output: [ab a ac]
{{ regexFindAll "\\invalid$^///" "aba acada afa" 3 }} // ErrorregexMatch
{{ regexMatch "^[a-zA-Z]+$" "Hello" }} // Output: true
{{ regexMatch "\\invalid$^///" "Hello" }} // ErrorregexSplit
regexReplaceAll
regexReplaceAllLiteral
regexQuoteMeta
regexFindGroups
regexFindAllGroups
regexFindNamed
regexFindAllNamed
Last updated