Answer the question
In order to leave comments, you need to log in
C#. How to find a string in a file using a regular expression?
Good afternoon.
I receive the text from a file by means of ReadAllText.
The regular expression was picked up by ^.*[0-9][AZ].*$
There is only one line in the file that matches the regular expression, so you need to get it.
Can you please tell me how to find a string in a file using a regular expression?
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