Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^[+-]?\d+(?:\.\d+)?$
"
gm

Description

Inteiros ou float (neste caso, remover o segundo grupo).

Submitted by anonymous - 3 years ago