js regex indian mobile number code example Example 1: regex pattern for mobile number /^(\+\d{1,3}[- ]?)?\d{10}$/ Example 2: regex for mobile number ^[6-9]\d{9}$