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 fact that the value of the backref has a $? I have:
$out = '
On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie nos...@mckenzies.net 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
haliphax wrote:
On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie nos...@mckenzies.net 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
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
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 (
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 please?
Thanks
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 =
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 key:
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
Kind Regards
And thank you
Brent Clark
Sorry I to should have added this
this is what im going with so far
preg_match(/\d100.*/);
Kind Regards
Brent Clark
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 will
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
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. Only
I have tried numerous variations, but my regex skills suck! I would
appreciate anyone who can give me a pattern to use in preg_match_all() to
match the following (I have the first part up to ANYTHING working):
'|function ([\w\d\_]+)\((.*)\)ANYTHINGreturn (ANYTHING);|'
So parsing a PHP file I
14 matches
Mail list logo