Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-12-11 10:47
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 a.m

Submitted by Hoang Phuong - Gia Lai