On Sunday 19 November 2006 23:25, Al wrote:
> Get "Sams, Teach yourself Regular Expressions" It's a great little, simple
> book.
I'll look that one up. Thank you =)
>
> Then get the Regex Coach. Google to find it. It's free, works great and is
> super for learning regex
And this one, I'm on rig
Use single quotes? I think that stops it from interpreting the regular
expression before hand.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 10:32
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: regular expressions
yeah! remember that
yeah! remember that php interprets the string first, before it gets to
reg.ex. !! That's some I keep forgetting... lol
Martin
-Original Message-
From: Murray Chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 2:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: regular ex
On Mon, 10 Sep 2001, Mike Gifford wrote:
> Thanks robin, this is very useful!
>
yep, although pathinfo() is much easier:
$extension = pathinfo($userfile_name, PATHINFO_EXTENSION);
-Sterling
> Robin Vickery wrote:
> > [EMAIL PROTECTED] (Mike Gifford) writes:
> >
> >
> >>Hello,
> >>
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("yanto") wrote:
> (eregi("([0-9][a-z][A-Z]\.[0-9][a-z][A-Z]", $myArray[x]))
>
> and don't use character '^' in front of the pattern.
(Note that since the parentheses are unbalanced, the above will thorw a
parse error.)
Since it's eregi, you
5 matches
Mail list logo