I currently have the following:
var sText = 'I like stackoverflow';
if ( $(this).text().match( eval("/" + sText + "/ig") ) ) {
As you can see, this matches the entire string.
I need to match case insensitive text that contains all the words individually. So it will look for "I", "like" and "stackoverflow". It must have all 3 words.
Much appreciate the help.