Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [TheStone] Form Field Regex

Quote Reply
Re: [TheStone] Form Field Regex In reply to
The form regex ^[\w\-\.]{3,}$ allows all letters, numbers, hyphens and fullstops (periods) while rejecting everything else but I would prefer to write a regex that rejects certain character (e.g < > { }) and allows everything else.

Could you give me an example please?

Thank you.

Simon.
Subject Author Views Date
Thread Form Field Regex jai 4040 Nov 10, 2002, 5:55 PM
Thread Re: [jai] Form Field Regex
604 3874 Nov 12, 2002, 10:22 AM
Post Re: [TheStone] Form Field Regex
jai 3859 Nov 13, 2002, 3:24 PM
Thread Re: [TheStone] Form Field Regex
jai 3849 Nov 17, 2002, 5:33 PM
Post Re: [jai] Form Field Regex
jai 3841 Nov 17, 2002, 6:17 PM