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?

1 Answer 1



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 agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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