Syntax
Matches(text, regex)
Parameters
| Parameter | Type | Details |
|---|---|---|
text | any value | required |
regex | text | required |
Returns
boolean
Example
Matches("F-2026-041", "^F-[0-9]{4}-[0-9]+$")MatchesTrue if the text matches the regular expression (add ^ and $ for the whole text).
Matches(text, regex)
| Parameter | Type | Details |
|---|---|---|
text | any value | required |
regex | text | required |
boolean
Matches("F-2026-041", "^F-[0-9]{4}-[0-9]+$")