I bag your pardon but I'm in need of any help. I must check String instance in C#. The String must contains only uppercase and lowercase English letters and '|' characters. How can I do this checking with Regex class in .NET Framework 4.5.? Suppose I got the String from Console:
String _processedString = Console.ReadLine();
How can I check it to according to above mentioned conditions?