using System.Text.RegularExpressions;
public static void Main()
string pattern = @"Hello";
string input = "Hello World!";
Regex regex = new Regex(pattern);
Match match = regex.Match(input);
Console.WriteLine($"{match.Value} found");
Console.WriteLine("No match found.");