Regex to match specific comments in code
问题 Are there any regex experts who can help me clean up the following source code? I'm going through some existing code and I see several instances similar to the following: public enum Numbers { /// <summary> /// One = 1, /// </summary> One = 1, /// <summary> /// Two = 2, /// </summary> Two = 2, /// <summary> /// Three = 3, /// </summary> Three = 3, /// <summary> /// Four = 4 but don't use this because it will break everything, /// </summary> Four = 4, } Unless someone can tell me that the