Reference
No results for 'undefined'
    Powered by Algolia

    REGEXMATCH

    Whether a piece of text matches a regular expression.

    Syntax

    =REGEXMATCH(text, [regexString])

    Parameters

    1. text
      • Type: String
      • Description: The text to be tested against the regular expression.
    2. regexString [optional]
      • Type: String
      • Description: The regular expression to test the text against.

    Returns

    • Type: Boolean
    • Description: Returns the boolean true if matched

    Example

    =REGEXMATCH("text", "ab(.*)")

    Try It Now

    Sorry, your browser is not supported. MINTDATA™ works best on Google Chrome 50.0+ and Firefox 44.0+.

    See Also

    Contents