There you are
$html = preg_replace ("'href=(\"|)(?)'si", "href=\"".$bejsnejm."\\2\"", $html);
$html = preg_replace
("'(src|background|href)=(\"|)(?!http)([.]*?[^\"]*?)(\"| >)'si",
"\\1=\"".$bejsnejm."/\\3\"", $html);
of course it fails.
kras
> Show some code...
>
> Thanks,
>
> Ray "
Show some code...
Thanks,
Ray "BigDog" Hunter
-Original Message-
From: kras [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 19, 2002 9:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] regex: string begins with NEITER http NOR cid NOR mailto
Hello!
I have got a big problem:
I have html con
2 matches
Mail list logo