In a .NET Regex pattern, what special characters need to be escaped in order to be used literally?
Here is the list of characters that need to be escaped to use them as normal literals:
[\ ^ $ . | ? * + ( and the closing round bracket ) {#These special characters are often called "metacharacters".
But, I agree with Jon to use Regex.Escape instead of hardcoding these character in code.