{1,9}, right?  I think that's what your asking.  {2,} means two or
more, {,3} means three or less, and {2,3} means both two or more and
three or less (i.e., 2-3).

cheers,
barneyb

On Sun, Feb 14, 2010 at 6:04 PM, Ria  Ragam <[email protected]> wrote:
>
> Hi All,
>
> I am trying to write a regEX for numbers which should only test for range 
> {1-9} and not  for range {10,}
> It should only check for 1 to 999999999 and not 1111111111 or more(means 
> should accept them).
> for range more than 10 or more we use {10,} and don't know how to check only 
> for {1-9}.
>
> Thanks for your help in advance,
> Ria
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1237
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to