Hi.
I'm trying to create a 'search engine' like program. With a bit of searching i found this website which was relevant to what i needed to do.http://www.dreamincode.net/code/snippet1278.htm
if (Regex.IsMatch(allRead, regMatch))//If the match is found in allRead
{
Console.WriteLine("found\n");
Console.WriteLine(regMatch);
Console.Read();
}
I thought "console.writeline(regmatch)" would display the related searches however i realised regmatch is a string which contains what the user initially searched for. is there a way to display all related items?