'Jquery phone number validation start from+30
** Jquery phone number validation ** Jquery phone number validation using regular expression.
valid phone number:- +30344343434, ragex not working and error show:- Uncaught SyntaxError: Invalid regular expression: /^(+30)[0-9]{9}$/: Nothing to repeat
$.validator.addMethod("PhoneValidation", (function(e) {
let regex = /^(+30)[0-9]{9}$/.test(e);
return(regex);
}), PHONE_VALIDATE);
suggest valid regex.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
