Hi, all...

Why doesn't this Regex validate the field entry "24"
as a valid number? :

<CFIF Len(Trim(Form.Years))
and Not IsNumeric(REReplace(Len(Trim(Form.Years)), "[0-9]","","All"))>

I thought this would mean:

If Form.Years has some content
and if, after taking away all digits 0 thru 9, what's left is not a valid
number,
then...

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272746
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