示例#1
0
        static void Main(string[] args)
        {
            string alphaNumeric = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789._-'";
            string input        = "Today is Friday. Tommorrow will be saturday, followed by Sunday.";
            string pattern      = @"[Ss]\S+";

            pattern = @"\W";
            input   = alphaNumeric;
            var parser = new RegexTest();

            parser.PrintOutMatches(input, pattern);
            Console.ReadKey();
        }