Solved

Local Name Email Validator (regex)

Posted on 2015-02-02
2
58 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, EE MVE
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating 2 files from output with Powershell 5 45
Allow space in this pattern 2 58
Need some help with powershell script 5 48
ROBOFTP UNZIP 1 45
This article will show, step by step, how to integrate R code into a R Sweave document
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 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