see if string contains certain text value jquery code example
Example: jquery check if string contains specific word
var a = 'how are you';
a.includes('are'); // will return true if string contains search term
var a = 'how are you';
a.includes('are'); // will return true if string contains search term