A
A
Alikhan2022-02-06 20:36:17
Regular Expressions
Alikhan, 2022-02-06 20:36:17

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 question

Ask a Question

731 491 924 answers to any question