Blog

Output of following code:

class Program {
static void Main(string[] args) {
Regex simpleRegex = new Regex(@”([a-zA-Z]+) (\d+)”);
string replaced = simpleRegex.Replace(“August 01, September 09, October 16″, @”$2 of $1”);
Console.WriteLine(replaced);
}
}