I have a client input string with some words highlighted which looks like <em>TEST</em>. however, I can see there is < existing in that string as well(appearing as solo < or <some letters...) which I want to replace the < with other letter or delete them but keep <em>TEST</em>.
I want to use regular expression to match those except <em>TEST</em> and tried a lot but still no clue, please help me out.