I have two strings




These seem like they should be equal in regex. However, I cannot find a function in Google sheets (vlookup, search, ...) that provides this answer because neither is a substring of the other.

Is there anyway to equate them?



Whether a piece of text matches a regular expression.

Sample Usage
REGEXMATCH("Spreadsheets", "S.r")


REGEXMATCH(text, regular_expression)
  • text - The text to be tested against the regular expression.
  • regular_expression - The regular expression to test the text against.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.