House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Regular Expressions (RegEx)

RegEx for range

Author:
Ria Ragam
02/14/2010 09:12 PM

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


Search regex

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29