contains selector code example
Example 1: jquery selector attribute value starts with
$( "input[name^='news']" ) //name starts with news
Example 2: jquery contains text
$( "div:contains( 'hello' )" )
Example 3: jquery find by innertext
$( "div:contains('innerText')" );