Posted by Janwillem Borleffs on 06/09/05 23:19
Johnny Elvers wrote:
> Now, I have the start and end of the range
> (\[CDATA\[)
> and
> (\]\]>)
>
> But I cannot figure out how I match any character that is not like the
> end of the range.
>
$stripped = preg_replace(
"/<\[CDATA\[.*\]\]>/",
"<[CDATA[]]>",
$xml
);
JW
Navigation:
[Reply to this message]
|