My requirement is to change all <br /> tags to <br> in a string. <Br />, <bR />, <BR />, <br /> all four combination in a string should be changed into <br>.
How to write a regex for this in C#?
Converting string into uppercase or lowercase is not allowed.
1 Answer