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:
Barney Boisvert
02/14/2010 11:15 PM

{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 > > 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