CountMatchesRegexp
Finds and counts all regular expression matches
CountMatchesRegexp("MAC", "[A-Z]") → 3
CountMatchesRegexp("1234", "[5-9]") → 0
Inputs
CountMatchesRegexp(string, searchRegexp, [isCaseSensitive])
string
- A text value to search insearchRegexp
- A regular expression to search for[isCaseSensitive]
- [optional:true
by default**]** - Setfalse
if search should be case insensitive
Last updated
Was this helpful?