标签: regex
我如何为Sun Mar 05 10:00:47 GMT 2011
Sun Mar 05 10:00:47 GMT 2011
答案 0 :(得分:3)
这样的事情会起作用,我估计:
^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan| ... | Dec) \d\d [0-2]\d:[0-5]\d:[0-5]\d (GMT| ... ) [12]\d\d\d$