I want a regex to match everything in a string except "<br>", "<br />", "<br />".
Reason being, i want to put string in a container and want "
" tags to execute and display other tags as they are written by the user.
For example: String-->
"I have <br> <br asked br> <br />
a <br/> <h1>
<h1<br>>>>>>
<br>>>>>>>> question <b . <a"
it should return :
"I have <br asked br>
a <h1>
<h1>>>>>
>>>>>>> question <b . <a"
I already have a regex to find all "br" tags which is (<br\ ?\/?>)
. Just need a negation of the same.