Skip to main content

Text matches a pattern

True when the text fits a regular expression, as a whole or somewhere in it, e.g. ^INV-\d{6}$ for an invoice number.

Condition in the String toolkit · id ooa.string/matches_pattern · 4 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to check.
PatternStringYesThe regular expression.
Whole textBooleanNotrueThe whole text must fit; when off, a match anywhere counts.
Ignore caseBooleanNofalseUpper and lower case alike.