Regex Patterns Not Working
-
I have created a Form and have a Text Field established for capturing a phone number. I want to limit the field to a 10 digit phone number with dashes in this format “000-000-0000”. I have tried every conceivable pattern and nothing seems to work. I keep getting a field verification message that says
“Character [x] is not supported.”
regardless of what number I start with. I’ve tested every pattern with an onlin regex tester and they all PASS. So I don’t know what the heck is going on?
This is the most basic pattern that should work.
\d{3}[-]\d{3}[-]\d{4}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Regex Patterns Not Working’ is closed to new replies.