Use a regular expression to test for the existence of a string:
Enter some text to be searched:

Enter a regular expression to search:

Yes No