LINK What ca...">

A simple HTML Dom - Class attribute with a few words and spaces

I am trying to find this:

<a class="one two three four five">LINK</a> 

What can I do to find bindings that contain four in my class?

I try this way:

 $dom->find("a[class*=four]"); 

But that will not work. I am using the html_simple_dom library.

+4
source share

All Articles