Solved

Local Name Email Validator (regex)

Posted on 2015-02-02
2
60 Views
Last Modified: 2015-03-23
Hi,

I'm trying to validate the local name portion of an email address.   The domain name gets pre-populate so I don't have to worry about that part.   Is there a regex expression that I can use to do this?   I Thanks!

David
0
Comment
Question by:davidst98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40584186
What have you tried already?
0
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 40584201
You can try the regex epression from here: http://www.regular-expressions.info/email.html
\b[A-Z0-9._%+-]+

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question