Regular Expressions 101

Library entries

Extract currency with currency symbol if present

Vote

7

Regular Expression
javascript

/
([£\$])*([\d,.]*)
/
g

Description

Loading markdown...
Submitted by Simon Gardner - 6 years ago