"I need a common regex which matches both the lines"
Hi, no you don't, you need a datetime parser. See DateTime::Format::Strptime or Time::Piece (latter in core Perl).
Hope this helps!
In reply to Re: Common regex for timedate
by 1nickt
in thread Common regex for timedate
by newbie13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |