Re: [PHP] regular expression for integer range

2005-09-08 Thread Mark Rees
""Murray @ PlanetThoughtful"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi all, > > > > > > I want to write regular expression for checking the string format entered > > by user. > > > > the allowed formats are > > > > examples: > > 10 > > 10, > > 10,12-10 > > 12-10 > > > > th

RE: [PHP] regular expression for integer range

2005-09-07 Thread Murray @ PlanetThoughtful
> Hi all, > > > I want to write regular expression for checking the string format entered > by user. > > the allowed formats are > > examples: > 10 > 10, > 10,12-10 > 12-10 > > that is the valid strings are: > 1. only integer > 2. an integer, range of integers example 3 > > and no other chara

Re: [PHP] regular expression for integer range

2005-09-07 Thread Robin Vickery
On 9/6/05, babu <[EMAIL PROTECTED]> wrote: > Hi all, > > > I want to write regular expression for checking the string format entered by > user. > > the allowed formats are > > examples: > 10 > 10, > 10,12-10 > 12-10 > > that is the valid strings are: > 1. only integer > 2. an integer, range o

Re: [PHP] regular expression for integer range

2005-09-06 Thread John Nichel
babu wrote: Hi all, I want to write regular expression for checking the string format entered by user. the allowed formats are examples: 10 10, 10,12-10 12-10 that is the valid strings are: 1. only integer 2. an integer, range of integers example 3 and no other characters must be al

Re: [PHP] regular expression for integer range

2005-09-06 Thread Philip Hallstrom
On Tue, 6 Sep 2005, babu wrote: Hi all, I want to write regular expression for checking the string format entered by user. the allowed formats are examples: 10 10, 10,12-10 12-10 that is the valid strings are: 1. only integer 2. an integer, range of integers example 3 and no other char