Regular Expressions 101

Community Patterns

0

SUBTOTAL

Python
SUBTOTAL 15.88
Submitted by KRISHNA - a year ago
0

CPF|CNPJ

Python
Match Brazilian documents
Submitted by Bacco - a year ago
0

恩更

Python
非法发
Submitted by anonymous - a year ago
0

dice thing

Python
Stuff for a dnd thing
Submitted by Cata - a year ago

Match Decimal allow single leading/tailing 0

1

Regular Expression
ECMAScript (JavaScript)

/
^(?:[1-9]\d*?|0)?(?:\.(?:\d*?[1-9]|0))?(?<=[\d])$
/
gm

Description

Loading markdown...
Submitted by Doom87er - 5 years ago