Selects all elements with the language attribute starting with a specified value. Note: The value has to be a whole word, either alone, like lang="en", or followed by a hyphen( - ), like lang="en-us".
Select all <p> elements with a lang attribute value that starts with "de": $("p:lang(de)")
Selects elements containing the specified string. The string can be contained directly in the element as text, or in a child element. This is mostly used together with another selector to select the elements containing the text in a group (like in the example below).
Select all <button> elements containing "share": $("button:contains(share)")
Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).
Select all <p> elements with a title attribute that starts with the value "Today": $("p[title|='Today']")