Matches
Finds if a string matches the regular expression pattern
Matches("[email protected]", "\\w+@\\w+\\.com") → true
Matches("2023-10-05", "\\d{4}/\\d{2}/\\d{2}") → falseInputs
Matches(string, searchRegexp, [isCaseSensitive])
string- A text value to search insearchRegexp- A regular expression to search for[isCaseSensitive]- [optional:trueby default] - Setfalseif search should be case insensitive
Last updated
Was this helpful?