SV: [thelist] ASP - Regular Expressions
Steve Cook
steve.cook at evitbe.com
Tue Aug 5 02:27:24 CDT 2003
See how in the first part of the expression you have the ^ symbol outside of the square brackets? I think you want to do the same with your $ symbol - it's inside the brackets at the moment.
Hopefully that should sort out the problem.
.steve
> -----Ursprungligt meddelande-----
> Från: burgan at iprimus.com.au [mailto:burgan at iprimus.com.au]
> Skickat: den 5 augusti 2003 08:20
> Till: thelist at lists.evolt.org
> Ämne: [thelist] ASP - Regular Expressions
>
>
> Hi all (again),
> <SNIP>
> At the moment this is working properly for everything but
> 'text--'. It still allows the user to do this. I don't really
> know why except that it relates to the $ sign, because I
> first read about regular expressions today.
> <SNIP>
>
> objRegExpr.Pattern = "^[a-zA-Z][\-]*[a-zA-Z$]"
>
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at http://mail2web.com/
>
> --
> * * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list