example string:
:530 PM PDT THU APR 16 2015
start with ":", then followed by time like "530"(5:30), then "AM" or "PM", then timezone like "PDT", then weekday "THU", month "APR", date "16", year "2015"
":"
"530"(5:30)
"AM"
"PM"
"PDT
"THU",
"APR"
"16"
"2015"
Thanks
You can use :
^:\d?\d{3}\s[AP]M\s(?:HST|AKDT|[PCEM]DT)\s[A-Z]{3}\s[A-Z]{3}\s\d?\d\s\d{4}$
See DEMO