How can I convert the following strings to a System.DateTime object?
Wednesday 13th January 2010 Thursday 21st January 2010 Wednesday 3rd February 2010
What about strip them?
string value = "Wednesday 13th January 2010"; DateTime dt; DateTime.TryParseExact( Regex.Replace(value, @"(\w+ \d+)\w+ (\w+ \d+)", "$1 $2"), "ffffdd d MMMM yyyy", DateTimeFormatInfo.InvariantInfo, DateTimeStyles.None, out dt);