Regular Expressions 101

Community Patterns

Matches percentage with any number of digits

-4

Regular Expression
Python

r"
([0-9]*\.?[0-9]*)\s*%
"
gmi

Description

Loading markdown...
Submitted by sharkey - 9 years ago