Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to last }} is included, can
anyone point out where I am going wrong?
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote:
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to last }} is included,
Robert Cummings wrote:
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote:
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Friday, January 16, 2009 4:31 AM
To: Phil Ewington - iModel Ltd.
Cc: php-general@lists.php.net
Subject: Re: [PHP] preg_match_all question
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd
-Original Message-
From: Boyd, Todd M. [mailto:tmbo...@ccis.edu]
Sent: Friday, January 16, 2009 2:13 PM
To: php-general@lists.php.net
Subject: RE: [PHP] preg_match_all question
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Friday, January
Hello,
I am using the following to do link replacing:
preg_match_all(/\s*a\s+[^]*href\s*=\s*[\']?([^\' ]+)[\'
]/isU,$file[$x],$matches);
It works great for all but 'https' links. I am not that versed in
regular expressions. Would anyone know what I need to put in there so
that it will
6 matches
Mail list logo