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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^([a-zA-Z.\s']{1,50})$
Description
This is just a regular special char expression used to get the hax0rs off your back (hopefully). You can use this for regular open name checking if you wanted. It only fails on the insert of anything other than a-z, A-Z, and ' or whitespace. I'm open to suggestions, but try to email them to me as well as posting them to help others. Thanks.
Matches
Jon M. Doe | Tim L. O'Doul | ...'''''
Non-Matches
Doe, Jon | <>,;:"?/ | %\$#@!
Author Rating: The rating for this expression. John Smart
Source
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: Double-barrelling
Name: Iain
Date: 12/16/2003 9:13:54 PM
Comment:
What about Mr Fred Trumpeter-Smith, or Mary-Ann Lou? As for SQL injection, use a decent SQL library -- one that supports placeholders.


Title: SQL injection
Name: Tickle Me elmp
Date: 12/16/2003 1:06:38 PM
Comment:
How about stop them from creating a SQL statement


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