You can use System.Text.RegularExpressions.Regex.IsMatch() to check for certain text string in a larger text string:
if (System.Text.RegularExpressions.Regex.IsMatch("text string including test", "test", System.Text.RegularExpressions.RegexOptions.IgnoreCase))
{
//test found
}
Hope this helps