Login or sign up Lost password?
Login or sign up
For using a regular expression in C# server-side we need to use the following namespace.using System. Regular Expressions; Remember: Remove / at the start and the end of the string to convert a Java Script Regex to C#.