Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

mobile number validation in javascript with country code

/^[+]?[(]?[0-9]{3}[)]?[-s.]?[0-9]{3}[-s.]?[0-9]{4,6}$/im

//Valid Phone Numbers :
(123) 456-7890
(123)456-7890
123-456-7890
123.456.7890
1234567890
+31636363634
075-63546725
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to convert string to snake case in javascript 
Javascript :: filter in js 
Javascript :: react-bootstrap carousel stop autoplay 
Javascript :: window change detect 
Javascript :: ReactJS Axios Delete Request Code Example 
Javascript :: how to crash with js 
Javascript :: javascript fetch get data from promise 
Javascript :: react using proptypes 
Javascript :: draw border on canvas 
Javascript :: Send Form Data Using Ky AJAX 
Javascript :: react native password strength 
Javascript :: Error occurred while trying to proxy to: localhost:3000/ 
Javascript :: add array 
Javascript :: get selector with specific text puppeteer 
Javascript :: Example: Export a Variable in Node 
Javascript :: adding function to objects js 
Javascript :: jszip create zip file 
Javascript :: sequelize left join attributes 
Javascript :: how to get updated data-value in jquery 
Javascript :: make a file downloadable in react 
Javascript :: javascript hash table 
Javascript :: js hoisting 
Javascript :: how to get url parameter using jquery or plain javascript 
Javascript :: react functional components 
Javascript :: adjust color of text js javascript 
Javascript :: javascript The replace() method 
Javascript :: use await in for each 
Javascript :: jest Your test suite must contain at least one test. 
Javascript :: Select radio button through JQuery 
Javascript :: identify primary colors in img with js 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =