Answer the question
In order to leave comments, you need to log in
How to keep part of the result of a regular expression?
Using the Regex class, I create a regular expression.
But the question arises, how to save a certain part of the result of the regular expression, and not all? var regex = new Regex(@"import(.+)");
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