/\b(1[012]|[1-9]):([0-5][0-9]).([aApP][mM])\b/
See perlretut and perlre for more details.
In reply to Re: regular expression for "time-of-day" is not working
by moritz
in thread regular expression for "time-of-day" is not working
by vjvalor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |