Community Patterns

Community Library Entry

0

Regular Expression
Created·2020-03-26 13:08
Flavor·Python

r"
\d+(?:[.]?\d+(?:\([a-z]+\))*)?
"
gm
Open regex in editor

Description

From the full expression of sub clause or clause referred, it extracts the actual numbers and returns the list of them.

Submitted by anonymous