Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-12-28 15:07
Flavor·Python

r"
(?:.*\(.*)(\+|-{1})(?: )(\d+\.*?\d+)(?:.*\))
"
gi
Open regex in editor

Description

extract operator and numbers from a typical product option line

Submitted by anonymous