Shaul Behr Shaul Behr - 1 year ago 72
C# Question

C# Regex to match a string that doesn't contain a certain string?

I want to match any string that does not contain the string "DontMatchThis".

What's the regex?

Answer Source

try this:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download