Skip to content

How to validate Email Address with specified extension

karthik ravutla

Asked Jul 1, 2018, 10:36 PM EDT1 answer
Share
LinkedInX
In JavaScript, How to validate Email Address with Specified Extension using Email pattern.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Here is My Email Pattern:
     
    *@\w+([-.]\w+)*\.\w+([-.]\w+)*$/
     
    Need to validate the .com part because it could be .org, .ru, etc. but it cannot be .abcd.
     
    How to add the specified extension in an email pattern?
    0