Regular Expressions 101

Community Patterns

0

租赁

Python
租赁
Submitted by 租赁 - a year ago
0

Nashvile chords

Python
Nashvile chords
Submitted by Marcos - a year ago
0

File Parser

Python
File parser
Submitted by anonymous - a year ago

Extract time from text

1

Regular Expression
Python

r"
\b([01]?[0-9]|2[0-3]):([0-5][0-9])(?::([0-9][0-9]))?\b
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago
(Last modified 2 years ago)