[thelist] regex help

Joshua Olson joshua at waetech.com
Sun Nov 18 15:32:50 CST 2007


> -----Original Message-----
> From: Brian Cummiskey
> Sent: Friday, November 16, 2007 2:31 PM
> 
> Hi guys,
> 
> I'm looking for a regex for some textareas.  Basically, 
> anything goes, so I can't strip out everything.
> On the contrary, I'm ALLOWING things instead.

Try:

regEx.Pattern = "[^0-9a-zA-Z\s-.""']"

Joshua

<><><><><><><><><><>
Joshua L. Olson
WAE Technologies, Inc.
http://www.waetech.com/
Phone: 706.210.0168
Fax: 413.812.4864
Private Enterprise Number: 28752

Monitor bandwidth usage on IIS6 in real-time:
http://www.waetech.com/services/iisbm/ 



More information about the thelist mailing list