Working well in 2024
-
But is it possible to add a different phone number validation?
// Pattern that allows digits, +, (), -, and spaces?$pattern?=?"/^(\+?\d{1,4}[\s-]?)?(\(?\d{3,4}\)?[\s-]?)?\d{3}[\s-]?\d{3,4}$/";
So it works with different phone numbers
Example of valid phone numbers:
+44 123 456-7890
+1 (123) 456-7890
(012) 345 6789
494-934-128
123 456 7890
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this review.