I want to get tags with the "class" attribute equal to "someclass", but only those tags that have not defined the "id" attribute.
I tried the following (based on this answer) but did not work:
$html->find('.someclass[id!=*]');
Note:
I use the Simple HTML DOM class and in the base documentation they give, I did not find what I need.
source
share