public void CheckForNotMatch([NotMatch("\\d+")] string myString) { // Argument.IsNotMatch(() => myString, "\\d+"); }