using System.Text.RegularExpressions; class RegExSample { static void Main() { string s = "Why Don't You watch This is Spinal Tap on Friday or whenever?"; s = Regex.Replace(s, @"((?]+<[^\/>][^>]+>)", m => m.Value.ToLower()); System.Console.WriteLine(s); } }