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