I have a string:
`<p onclick="alert('abc')" style="color: black">text</p>`
I want to remove all Javascript like onclick, onchange, ...
leaving only HTML and CSS. is there any way to do this in C#? the only way I can think of is to remove each javascript tag from the string.
Input: <p onclick="alert('abc')" style="color: black">text</p>
Output: <p style="color: black ">text</p>