|
|
Browse by Tags
All Tags » HTML anchors href
-
hello,
please i want to find all tags<a> without the title attribute in a HTML file
my regex is:if (preg_match_all("/<a\s[^>]*href=(\s*(\"??)([^\" >]*?)\\2[^title>]*)>(.*)<\/a>/siU",$contenu,$out, PREG_SET_ORDER))
this regex return all tags <a>without words wich contains ...
-
Dear all,
I need help parsing HTML A tag with attributes. The problem is that the source is not always properly formatted. I didn't find anything in RegExLib site.
I need to extract URL and the text between A tags
Here are the specifics:There can be single quotes, double quotes, no quotes or combination of thereof.Attributes can be in ...
|
|
|