All pastes #24646 Raw Edit

Unnamed

public text v1 · immutable
#24646 ·published 2005-10-04 23:47 UTC
rendered paste body

using System;
using System.Text.RegularExpressions;

public class MainClass
{
        public static void Main (string[] args)
        {
                Regex reg = new Regex (@"\w");

                foreach (Match match in reg.Matches)
                {
                        Console.WriteLine("Match: |{0}|", match);
                }
        }
}