RegEx for a date format
- by Ivan
Say I have a string like this:
07-MAY-07 Hello World 07-MAY-07 Hello Again
So the pattern is, DD-MMM-YY, where MMM is the three letter format for a month. What Regular Expression will break up this string into:
07-MAY-07 Hello World
07-MAY-07 Hello Again
Using Jason's code below modified for C#,
string input = @"07-MAY-07 Hello World…