given the html pattern attribute what's accepted number

Viewed 10

I am trying to register barnes and noble account

what is the accepted phone-number format here?


I can see the HTML code for the pattern attribute is

^((1|\+1)?(\s|-|.)?)?((\(|\s\()?[2-9]{1}\d{2}|[2-9]{1}\d{2}(\)|\)\s)?)(\s|-|.)?(\d{3}(\s|-|.)?\d{4})


I tried to enter it in +1(319)123-4567
but without any luck, any ideas?

0 Answers
Related