Answer the question
In order to leave comments, you need to log in
How to set a condition in a regular expression?
There is a regular expression:
@"\b\(d{1})*?-??(\d{1})*?\s.*" + surname + @"\s.*(\d{1})\b";
, which works with strings like: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