FindMatchesOfRegexp

Finds all matches of regular expression pattern in a string value

FindMatchesOfRegexp("Hello world", "[wo]") → ["o","w","o"]
FindMatchesOfRegexp("text text", "[t]") → ["t","t","t","t"]

Inputs

FindMatchesOfRegexp(string, searchRegexp, [isCaseSensitive])

  • string - A text value to search in

  • searchRegexp - A regular expression to find to

  • [isCaseSensitive] - [optional: true by default**]** - Set false if search should be case insensitive

Last updated