Regular Expressions 101

Community Patterns

Currency matcher with curreny symbol

1

Regular Expression
PCRE (PHP <7.3)

/
\s?[^0-9]?\s?[0-9,]+([\\.]{1})?[0-9]+\s?
/

Description

matches currency with or without currency symbol

Submitted by anonymous - 8 years ago