Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Form Field Regex

Quote Reply
Form Field Regex
Hi,

What regex can I use to stop users from entering any of the following characters in my form field -

!#$%^&*()<>?;:"\'/{}[]

I want to limit them to [A-Za-z0-9]+ but reject the above characters.

Thanks

Simon.



GT staff - Would appreciate some answers to my older posts below please!!


User Language - http://gossamer-threads.com/...orum.cgi?post=221320

$GT::SQL::error - http://gossamer-threads.com/...orum.cgi?post=221311

Taint - http://gossamer-threads.com/...orum.cgi?post=221309

Last edited by:

jai: Nov 10, 2002, 6:01 PM
Subject Author Views Date
Thread Form Field Regex jai 3999 Nov 10, 2002, 5:55 PM
Thread Re: [jai] Form Field Regex
604 3834 Nov 12, 2002, 10:22 AM
Post Re: [TheStone] Form Field Regex
jai 3819 Nov 13, 2002, 3:24 PM
Thread Re: [TheStone] Form Field Regex
jai 3808 Nov 17, 2002, 5:33 PM
Post Re: [jai] Form Field Regex
jai 3801 Nov 17, 2002, 6:17 PM