Skip to content

isValidRegExp

Implementations

Microsoft Excel: AIDCT.isValidRegExp(regExp, s)

Google Sheets: Google Sheets: aidctIsValidRegExp(regExp, s)

Determine if a string is valid against a regular expression.

This function returns a matrix of values of the same shape and size as the s parameter.

Parameters

NameTypeDescription
regExpStringRegular expression against which to validate a string.
s**StringString to validate.

** This parameter accepts a single value, an array of values, or a matrix of values.