Re: [PHP] Regex help please

2009-03-27 Thread Shawn McKenzie
haliphax wrote: > On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie wrote: >> I'm normally OK with regex, especially if I fiddle with it long enough, >> however I have fiddled with this one so long that I'm either totally >> missing it or it's something simple. Does it have anything to do with >> t

Re: [PHP] Regex help please

2009-03-27 Thread haliphax
On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie wrote: > I'm normally OK with regex, especially if I fiddle with it long enough, > however I have fiddled with this one so long that I'm either totally > missing it or it's something simple.  Does it have anything to do with > the backref, or the fac

Re: [PHP] REGEX Help Please

2005-09-19 Thread Stephen Leaf
On Monday 19 September 2005 09:03 am, Shaun wrote: > Hi, > > I am trying to implement a regular expression so that I have a number > between 0.00 and 1.00. the following works except I can go up to 1.99 > > $regexp = "/^[0-1]{1}.[0-9]{2}/"; > > Can anyone help here please? > > Thanks $regexp = "/^

Re: [PHP] REGEX Help Please

2005-09-19 Thread Robert Cummings
On Mon, 2005-09-19 at 10:11, John Nichel wrote: > Shaun wrote: > > Hi, > > > > I am trying to implement a regular expression so that I have a number > > between 0.00 and 1.00. the following works except I can go up to 1.99 > > > > $regexp = "/^[0-1]{1}.[0-9]{2}/"; > > > > Can anyone help here p

Re: [PHP] REGEX Help Please

2005-09-19 Thread John Nichel
Shaun wrote: Hi, I am trying to implement a regular expression so that I have a number between 0.00 and 1.00. the following works except I can go up to 1.99 $regexp = "/^[0-1]{1}.[0-9]{2}/"; Can anyone help here please? Thanks May have to go outside just a regex... if ( preg_match ( "/

Re: [PHP] Regex help - PLease

2004-03-17 Thread Michal Migurski
>Sorry I to should have added this this is what im going with so far > >preg_match(/\d100.*/); This will match a digit, followed by '100', followed by anything. Go with Rob's suggestion. - michal migurski- contact info and pgp ke

Re: [PHP] Regex help - PLease

2004-03-16 Thread Pablo
On 03/16/2004 6:57 AM, Rob Ellis <[EMAIL PROTECTED]> wrote: > On Tue, Mar 16, 2004 at 02:39:27PM +0200, Brent Clark wrote: >> Hi there >> >> im in desperate need of help for a reg expression to ONLY allow 8 NUMBERS to >> start with 100 and may not have any other kind of >> letters or characters.

Re: [PHP] Regex help - PLease

2004-03-16 Thread Rob Ellis
On Tue, Mar 16, 2004 at 02:39:27PM +0200, Brent Clark wrote: > Hi there > > im in desperate need of help for a reg expression to ONLY allow 8 NUMBERS to start > with 100 and may not have any other kind of > letters or characters. Only numbers > > for example > 10064893 > if (preg_match('/^1

Re: [PHP] Regex help - PLease

2004-03-16 Thread Richard Davey
Hello Brent, Tuesday, March 16, 2004, 12:39:27 PM, you wrote: BC> im in desperate need of help for a reg expression to ONLY allow 8 BC> NUMBERS to start with 100 and may not have any other kind of BC> letters or characters. Only numbers BC> for example BC> 10064893 It's not a reg exp, but it w