-1

Could you please help with a RE that will extract Date in HTML stream. e.g needed date is Wednesday, April 25 2012

Thanks

4

1 回答 1

2
(Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday),?\s+(January|February|March|April|May|June|July|August|September|October|November|December)\s+[0-3]?[0-9],?\s+[0-2][0-9][0-9][0-9]

But note that it will also find invalid dates, like ones with February 31.

于 2012-04-27T19:40:35.640 回答