.match(pattern)
Description
match executes a search for a match between a regular expression and the string, returning an array containing the results of that search. It works identically to JavaScript's String.match() method.
Parameters
match needs one parameter:
pattern: A string containing the regular expression pattern and optional flags (e.g. "/pattern/flags")
Usage On Strings
Last updated
Was this helpful?