Sorry Wayne - didn't see the end of your mail....

To have a list of 'allowables' use:

<@REGEX EXPR="[^A-Za-z0-9!$]+" STR="<@VAR string>" TYPE="E" position="all">

Here I'm allowing anything alphanumeric and ! and $.....

All other characters will return a match.

If I can be of further assistance please contact me.

Fergal

----- Original Message ----- 
From: "Wayne Irvine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 3:54 PM
Subject: Witango-Talk: REGEX revisited


> I asked previously about a regular expression to capture any
> non-alphanumeric characters in a string and someone at Witango (Tarin or
> Fergal I think) was kind enough to offer the solution.
>
> <@REGEX EXPR="[^[:alnum:]]+" STR="<@VAR string>" TYPE="E" position="all">'
>
>
> Of course now the problem has grown and the clients strings that are
> comprised of alphanumerics and certain other characters such as : / \ etc.
>
> Can someone assist me in adding these options to the list of allowables?
>
> Thanks
>
> Wayne Irvine
>
>                   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

Reply via email to