m: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 9:41 PM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] preg_match_all Help
[EMAIL PROTECTED] wrote:
I have tried this many way and for some reason
I cannot pull content between the 2 pattern options.
[EMAIL PROTECTED] wrote:
...
It would help to see the input text and to know exactly what you're
trying to match.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP General Mailing Lis
ge-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 9:41 PM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] preg_match_all Help
[EMAIL PROTECTED] wrote:
> I have tried this many way and for some reason
>
> I cannot pull conte
[EMAIL PROTECTED] wrote:
I have tried this many way and for some reason
I cannot pull content between the 2 pattern options.
function pullchannel($document)
{
preg_match_all('/]*>(.*)]*>/i',$document,$elements);
$match = implode("\r\n",$elements[0]);
$match = str_rep
I have tried this many way and for some reason
I cannot pull content between the 2 pattern options.
function pullchannel($document)
{
preg_match_all('/]*>(.*)]*>/i',$document,$elements);
$match = implode("\r\n",$elements[0]);
$match = str_replace('"',"","$match");
retu
5 matches
Mail list logo