Regular Expressions 101

Library entries

Currency Format for EU

Vote

0

Regular Expression
javascript

/
(^(([€$£]?\s*)?((\d{1,3}(\.\d{3})+)|\d+))(,\d+\s*)?)\s*$|(^(((\d{1,3}(\.\d{3})+)|\d+))(,\d+\s*)?(\s*[$€£]?)\s*$)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago