Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

indian phone pattern regex

pattern:
^(?:(?:+|0{0,2})91(s*[ -]s*)?|[0]?)?[456789]d{9}|(d[ -]?){10}d$


//Valid Scenarios:
4567589390
5678896759
6788509595
+91-9883443344
9883443344
09883443344
919883443344
0919883443344
+919883443344
+91-9883443344
0091-9883443344
+91 -9883443344
+91- 9883443344
+91 - 9883443344
0091 - 9883443344
7856128945
9998564723
022-24130000
080 25478965
0416-2565478
08172-268032
04512-895612
02162-240000
+91 9883443344
022-24141414


//Invalid Scenarios:
WAQU9876567892
ABCD9876541212
0226-895623124
6589451235
0924645236
0222-895612
098-8956124
022-2413184
Comment

phone number regex

^(+d{1,2}s)?(?d{3})?[s.-]d{3}[s.-]d{4}$
Comment

phone patter regex

^(+d{1,2}s)?(?d{3})?[s.-]d{3}[s.-]d{4}$
Comment

phone number regex

^[+0]{0,2}(91)?[0-9]{10}$
Comment

phone regex

^s*(?:+?(d{1,3}))?[-. (]*(d{3})[-. )]*(d{3})[-. ]*(d{4})(?: *x(d+))?s*$
Comment

PREVIOUS NEXT
Code Example
Javascript :: node convert buffer to string 
Javascript :: js insert emoji 
Javascript :: loop through files in directory javascript 
Javascript :: fetch in react 
Javascript :: Nuxt: Nuxt auth not redirecting after logout 
Javascript :: TypeError: Object of type uint32 is not JSON serializable 
Javascript :: print value in jquery 
Javascript :: sort array of object by another value array in javascript 
Javascript :: react parameter value from query string 
Javascript :: animate jquery 
Javascript :: two digit js' 
Javascript :: iterate through list javascript 
Javascript :: on click button change route next js 
Javascript :: how to convert string into blob in javascript 
Javascript :: javascript get nth element of array 
Javascript :: getting form values in javascript 
Javascript :: moment now format 
Javascript :: jquery select option by text 
Javascript :: jquery get name attribute 
Javascript :: Checking Empty JS Object 
Javascript :: string to array javascript 
Javascript :: how to check if a json object is empty 
Javascript :: javascript check if argument is passed 
Javascript :: send form data using fetch 
Javascript :: regex not contain 
Javascript :: select all elements javascript 
Javascript :: make a get request in node js 
Javascript :: javascript onsubmit 
Javascript :: install aos angular 10 
Javascript :: js get html input range value 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =