Regular Expressions 101

Library entries

Match Number in a string

Vote

0

Regular Expression
pcre2

/
(\b\d+(?:[\.,]\d+)?\b(?!(?:[\.,]\d+)|(?:\s*(?:%|percent))))
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago