Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(?<=\d)\s+(?=\d|\-)
"
g
Input 1
1
New
[23.5 26.3 29.3 31.9 32.8 31.2 28.8 27.8 28.4 29 -26.6 23.7]
Substitution
,