REGEXMATCH

true when text matches a regular expression · from google sheets · no excel equivalent · sheets: not yet compared

signature

REGEXMATCH(text, regular_expression)

returns: boolean

argumentrequired
text required
regular_expression required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =REGEXMATCH("deepcalc", "^deep") true

related

  • ASC converts full-width characters to half-width
  • BAHTTEXT spells a number as thai baht and satang
  • CHAR returns the character for a character-set code
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one