Syntaxe
Matches(text, regex)
Paramètres
| Paramètre | Type | Précision |
|---|---|---|
text | toute valeur | obligatoire |
regex | texte | obligatoire |
Renvoie
booléen
Exemple
Matches("F-2026-041", "^F-[0-9]{4}-[0-9]+$")MatchesVrai si le texte correspond à l'expression régulière (ajoutez ^ et $ pour le texte entier).
Matches(text, regex)
| Paramètre | Type | Précision |
|---|---|---|
text | toute valeur | obligatoire |
regex | texte | obligatoire |
booléen
Matches("F-2026-041", "^F-[0-9]{4}-[0-9]+$")