[A-Za-z0-9_:%\$-]+

Does that work for ya?  Two things that jump out at me:

1) You're escaping several items that don't need escaping, and

2) any time you need to use "-", it needs to be the character in the
character class (otherwise the regex engine thinks you're trying to define a
range)

HTH


On Sat, Mar 14, 2009 at 2:02 AM, Andrew Grosset wrote:

>
> I want to allow letters,numbers,"_","-",":" and "$"
>
>  <regexp name="letternumber" value= "[a-zA-Z0-9\_\-:\%]+"/>
>
> it returns false with ":" , slowly pulling my hair out and have exhausted
> Google - any suggestions?
>
> thanks, Andrew.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320522
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to