Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

165
Views
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.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can try this

$.validator.addMethod("PhoneValidation", function (value) {
       return /^(\+30)(30|31|32|33|34|35|36|37|38|39)[0-9]{7}$/.test(value);
}, "Please enter valid number.");

put \ before starting +30 in the first bracket And in the second bracket, put pair with 3 which you want to validate

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!