Answer the question
In order to leave comments, you need to log in
Regular expressions on lines or multiple values?
string pattern = @"\d"; //
if (Regex.IsMatch(textBox.Text, pattern, RegexOptions.IgnoreCase))
{
}
else
{
MessageBox.Show("Ошибка: Регистр букв должен быть большим и на Английском языке.");
}
string pattern = @"\d+[A+Z]"; //
Answer the question
In order to leave comments, you need to log in
Learn regular expressions. Well, for example: professorweb.ru/my/csharp/charp_theory/level4/4_10.php
You need a character |
PS This is me giving you a fishing rod instead of fish, if that
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question