RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^([0-9A-Za-z@.]{1,255})$
Description
This is an update of Paul Miller's RegEx. It will cut out literal <> but I haven't fully tested it, it's just a quick fix since his didn't work all that well. I also took out the \s. You could add this back in but I use this for very simple password verification, and I certainly have no use for spaces in my passwords.
Matches
BigBlue | 1234.1411 | [email protected]
Non-Matches
<>'&amp&lt&rt*^%$
Author Rating: The rating for this expression. Cal Guisti
Source Paul Miller (modified)
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Another regex that doesn't work
Name: Marc
Date: 8/27/2006 1:41:51 AM
Comment:
Why does someone add a regex that matches an email address


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials