Can anyone help me with the regular expression to find datime from string,format like
September 29th, 2010, 05:18 UTC
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on how strict you want to validate.
would work but wouldn’t check if the dates are actually halfway valid. Date validation is notoriously hairy in regex, so I’d advise against that. Better try and parse the date and see if that throws an exception.