Reputation: 3
My webpage looks like this
<h3>Headline</h3>
Unimportant Nov 20, 2012<br />
I just want to get the date and format it for new DateTime.
Upvotes: 0
Views: 73
Reputation: 7672
([A-Za-z]{3} [012]\d, [12](\d){3})
Should do the trick. This will catch any date with the format you provided.
Upvotes: 1