A clever regex...

2003-09-24 Thread Ryan Mitchell
Hello

I need help with a regex...
Basically I need to find out if there are any non-html characters in a
string, ie characters that aren't within   and aren't a space either ...
Is this possible?

TIA

Ryan

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138257
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: A clever regex...

2003-09-24 Thread Mike Townend
Have a look for StripHTML on the CFLib.org site, pass the string into this
and then check for the len of REReplace(string, [[:space:]], , ALL)

HTH

Mikey


-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 10:29
To: CF-Talk
Subject: A clever regex...


Hello

I need help with a regex...
Basically I need to find out if there are any non-html characters in a
string, ie characters that aren't within   and aren't a space either ...
Is this possible?

TIA

Ryan


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138258
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com