Community Patterns

Community Library Entry

7

Regular Expression
Created·2015-09-11 11:35
Flavor·ECMAScript (JavaScript)

/
([£\$])*([\d,.]*)
/
g
Open regex in editor

Description

Extracts values of the form £nnn,nnn.nn or $nnn.nnn from text

Submitted by Simon Gardner