Can someone explain to me when using regular expressions when a double backslash or single backslash needs to be used to escape a character?
A lot of references onli
I you use a verbatim symbol @(verbatim string), you don't need to escape the backslash again.
@
if (Regex.IsMatch(myString, @"SomeString\."))