RegEx's aren't for everything

What's wrong with an if

<cfif int(myVar) gte 1 and int(myVar) lte 100>
    blah
</cfif>


Regards
Dale Fraser

-----Original Message-----
From: Web Exp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 24 April 2008 10:34 PM
To: CF-Talk
Subject: Regex issue

Hi... Can someone give me the regex pattern for checking if the user input
is:
Either a percentage value (between 1 and 100) OR it is a integer
between 1 and 1400.

Please help.



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304154
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to