Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\d+[,.]\d+(?=[\s\S]*key)
/
g
Input 1
New
blabl texta 1,40 textb 3.50 textc 6,90 blabal 2 3 ddd 3 jj d key textd textf 2,30 4,70 5,90
Extraction
blabl texta 1,40 textb 3.50 textc 6,90 blabal 2 3 ddd 3 jj d key textd textf 2,30 4,70 5,90