Solved

Local Name Email Validator (regex)

Posted on 2015-02-02
2
54 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
2 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 40584186
What have you tried already?
0
 
LVL 34

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now