G
G
Greg Popov2015-09-13 21:49:41
JavaScript
Greg Popov, 2015-09-13 21:49:41

Where is the normal regex for phone validation?

Two number formats: mobile and landline phones.
Something suitable options did not come across, apparently overlooked

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
heartdevil, 2015-09-14
@Gregpopov

Hello.
Better use plugin to embed mask.
It can be this . Or google something else.
Then a mask like this will be displayed in your hover field:
(___) ___-____
And all the numbers will be filled strictly according to the mask.
Or you can simply separate the filling of the phone with three text fields, limiting it to entering numbers only.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question