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:
John Smart
|
Source |
|
Your Rating |
|
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