REGEX
regex functions
regex.match
Returns true if a match exists, false otherwise.
Syntax
regex.match(str, pattern)
regex.matches
Returns an array of strings
Syntax
regex.matches(str, pattern)
regex.replace
Syntax
regex.replace(str, pattern, "new str")
This page is open source.
Noticed a typo? Or something unclear?
Improve this page on GitHub