Jesse Parker at [EMAIL PROTECTED] wrote:

> I think <@KEEP> would be an easier way to do this.
> 
> <@IFEQUAL @@local$string <@KEEP @@local$string
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789">>
>   No non-alphanumeric characters
> </@IF>

I'm currently using the above as it is not as simple as just allowing
alphanumerics. Some other characters are allowed and I won't be surprised if
more spring up in the future.

This way if & becomes acceptable I can just add it to the keep statement.
 
> EXPR="[^A-Za-z0-9\\/:\-\.]"

But I might also have a play around with this for the sake of learning.

Thanks guys,

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

Reply via email to