: Wednesday, March 12, 2003 11:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [RegExp] extracting anchors
Hello,
I want to extract the "name"-attribute of all anchors out of an
HTML-source-code which don't have the "href"-attribute. I can use this
code to get the "na
Hello,
I want to extract the "name"-attribute of all anchors out of an
HTML-source-code which don't have the "href"-attribute. I can use this
code to get the "name"-attribute:
preg_match_all('/]*?)name=[ \'\"](.*?)[ \'\"](.*?)>/is',$src,$ar);
The name-attributes are now in $ar[2]. How can I ex
2 matches
Mail list logo