Try this :
preg_match('!(HREF|SRC)=([\"\']?)(.*?)\2!i',$Content,$reg_array);
HTH
Regards,
--
Andrey Hristov
Web Developer
Icygen Corporation
BUILDING SOLUTIONS
http://www.icygen.com
On Wednesday 12 December 2001 02:06 pm, you wrote:
> Hello there,
>
> I need to write all of the href="" conten
Hello there,
I need to write all of the href="" contents into an array. Presently I use the
following code, which works like charm:
<.CODE>preg_match('!HREF=[\"\' ]{0,}([^\"\'>]*)[\"\'>]!i', $Content,
$reg_array)<./CODE>
That, however, doesn't support Frames so I would need to make the script ma
2 matches
Mail list logo