Answers for "phone number regex"

7

phone number regex

^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$
Posted by: Guest on June-10-2020
0

regex pattern for mobile number

/^(\+\d{1,3}[- ]?)?\d{10}$/
Posted by: Guest on June-13-2020
0

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
Posted by: Guest on January-22-2021
4

phone number regex

^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$
Posted by: Guest on November-28-2019
1

phone number regex

^[+0]{0,2}(91)?[0-9]{10}$
Posted by: Guest on January-31-2021
0

phone number regex

<!-- html form tag -->
  <form>
    <label>Phone Number Format ((7|8|9)xxxxxxxx)</label>
    <!-- html input type=tel for phone number which contain a pattern -->
    <input type="tel"
           name="phone_number"
           id="phone_number"
           pattern="[789][0-9]{9}"
           required="required"
          />
          
    <!-- html input type=submit for submit a form --> 
    <input type="submit" />
    
  </form>
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language