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+)(?=м\b|\s+метров)
/
iug
Input 1
1
New
Типа 10 метров. А тут всего 9м. Но не 8 м и не 7метров
Extraction
Типа 10 метров. А тут всего 9м. Но не 8 м и не 7метров