Answer the question
In order to leave comments, you need to log in
How to construct a regular expression correctly?
How to properly write a JavaScript regular expression for match so that you can parse a string, say, folder1.subfolder.element , into an array ['folder1', 'subfolder', 'element'] .
It is necessary to match, not split.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question