Just change EXPR="[^A-Za-z0-9\/:-.]+"
to EXPR="\W+"
That should find any NON alpha numeric character.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On May 14, 2007, at 4:26 PM, Wayne Irvine wrote:
Robert Garcia at [EMAIL PROTECTED] wrote:
If you are going to use regex, try EXPR="\W"
<@if "<@numrows array='<@REGEX EXPR="[^A-Za-z0-9\/:-.]+"
STR="@@local$strng"
TYPE="E" position="all">'>>0">
Can you rewrite the statement as it would be with the \W expression.
Sorry, REGEX has always confused the hell out of me.
Wayne
Byte Services Pty Ltd
http://www.byteserve.com.au/
[EMAIL PROTECTED]
Ph 02 9960 6099 Mob 0409 960 609 Fax 02 9960 6088
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf