Hi Roman,
> But on those phpbuilder's page there are also similar questions but
answered
> scripts don't work, for example:
> ...
> preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,$ar);
>...
> I really don't know :(
There's definitely something wrong with the RegEx above. The string
comme
Hi Mat,
I would not please for help if I would not read those texts. Of course I've
read them both.
But on those phpbuilder's page there are also similar questions but answered
scripts don't work, for example:
$text="http://aaa\";>ttrtert";
preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,
August 18, 2002 4:20 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] hyperlink parser - a bit new view :)
I think there is no message about the same idea.
I would need to parse html file and get all within href="" or href=''.
So I don't want to get all texts which could be
I think there is no message about the same idea.
I would need to parse html file and get all within href="" or href=''.
So I don't want to get all texts which could be links, but only content of
href variable within tag.
Is there any easy way ? I have read hundreds of messages in this list toda
On Saturday 17 August 2002 20:07, Roman wrote:
> On Saturday 17 August 2002 19:25, Roman wrote:
> > I'd need to parse html page and get all hyperlinks there.
> > Is there any easy way to do it ? I'm not so good at regexps :(
>
> Even better, search the archives.
>
> pls how to reach archives
Loo
On Saturday 17 August 2002 19:25, Roman wrote:
> I'd need to parse html page and get all hyperlinks there.
> Is there any easy way to do it ? I'm not so good at regexps :(
Even better, search the archives.
pls how to reach archives and what to search ? I have last 7.000 messages in
my mailer :(
On Saturday 17 August 2002 19:25, Roman wrote:
> Hello,
>
> I'd need to parse html page and get all hyperlinks there.
>
> Is there any easy way to do it ? I'm not so good at regexps :(
>
> $file=file("http://url.html";);
>
> could be good start :)
Even better, search the archives.
--
Jason Wong
7 matches
Mail list logo