ginal Message-
From: Ryan S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 10:52 AM
To: vester_s
Cc: php php
Subject: Re: [PHP] Re: Re[PHP] gex to catch s
Hey,
$tag_regex=array(
'/\(.*?)\<\/p\> /si' => "$1",
'/\<(\s*)(*.?)class\=(*.?)\>(
Hey,
$tag_regex=array(
'/\(.*?)\<\/p\> /si' => "$1",
'/\<(\s*)(*.?)class\=(*.?)\>(.*?)\<\/(*.?)\>/si' => "$3"
);
$paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page);
I am not sure what tag is that you mean on , but in this
RE .. it should capture any tags (t
$tag_regex=array(
'/\(.*?)\<\/p\> /si' => "$1",
'/\<(\s*)(*.?)class\=(*.?)\>(.*?)\<\/(*.?)\>/si' => "$3"
);
$paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page);
I am not sure what tag is that you mean on , but in this
RE .. it should capture any tags (the first e
3 matches
Mail list logo