This should be an easy one for the Regex experts out there... :)
I want to match any string that does not contain the string "DontMatchThis".
What's the regex?
This should be an easy one for the Regex experts out there... :)
I want to match any string that does not contain the string "DontMatchThis".
What's the regex?
I have similar problem and my pattern match only last entry but i want more :) Idea is capturing xml comments:
<!--(?!.*(<!--)).*-->
Just use !
:
! new Regex("DontMatchThis").IsMatch(input)