RE: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread MET
, 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 links, but only content of href variable

RE: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread Roman
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=a target=\top\ href=\http://aaa\;ttrtert/a; preg_match_all(|href=\?([^\'

Re: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread DL Neil
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 commences with