Regular Expressions 101

Sponsors

Library entries

1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 4 months ago

Matching decimals in european format (dot as grouping separator, comma as decimal separator)

Vote

2

Regular Expression
java

"
^\d{1,3}(?:\.\d{3})*(?:,\d+)?$|^\d+(?:,)?\d+$
"
gm

Description

Loading markdown...
Submitted by Florian Drees - a year ago