string contains text or and get it in jquery code example Example: jquery contains text $( "div:contains( 'hello' )" )