Answer the question
In order to leave comments, you need to log in
How to get the area value from a string?
There is a line 1-room apartment, 39 m², 1/5 floor. , I want to keep only 39. I can't think of an expression.
Answer the question
In order to leave comments, you need to log in
No way. This is a window for HTTP authorization, such a window cannot be displayed or processed through JS. It pops up when the server returns an HTTP 401 code and a WWW-Authenticate header.
/\d{1,3}(?=\s\W+,)/
But a lot depends on which lines it will be drawn from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question