[CRAWL] Simple HTML DOM wildcard in attribute
Simple HTML DOM wildcard in attribute
[attribute] - Matches elements that have the specified attribute.
[!attribute] - Matches elements that don't have the specified attribute.
[attribute=value] - Matches elements that have the specified attribute with a certain value.
[attribute!=value] - Matches elements that don't have the specified attribute with a certain value.
[attribute^=value] - Matches elements that have the specified attribute and it starts with a certain value.
[attribute$=value] - Matches elements that have the specified attribute and it ends with a certain value.
[attribute*=value] - Matches elements that have the specified attribute and it contains a certain value.
# ex.
$html->find("div[class*=col]", 0)->outertext
출처 : https://stackoverflow.com/questions/13525124/simple-html-dom-wildcard-in-attribute/13529781