I need to select the lowest element containing a given string. The :contains(text) selector returns the element I want but also all its ancestors (since they too contain the text). I haven't been able to figure out a selector expression that returns only the lowest element. Any help appreciated.
Thanks David