Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-12-11 10:51
Flavor·Python

r"
(\d\d{0,1}){1}(:\d\d{0,1}){0,1}(\sa.m|\sp.m){0,1}
"
Open regex in editor

Description

Get time in string 33:20 p.m

Submitted by Hoang Phuong - Viet Nam