using System.Collections.Generic;
using System.Text.RegularExpressions;
public static void Main()
var test = new List<string>{"tfd", "fds"};
Regex rx = new Regex(@"(?<=include:)\S+");
var isMatch = rx.Matches("include:test.com include:fds fdfs").Cast<Match>().Any(domain => string.Equals(domain.Value, "test.com"));
Console.WriteLine(isMatch);