Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-06-14 17:25
Flavor·Python

r"
(\d*?)[\s-]*(\d+)\s*/\s*(\d+)
"
Open regex in editor

Description

mixed or simple fraction with whitespace, optional dash as separator

Submitted by anonymous