Combine regex expression with negation

I have the following string<p>dfgdfg</p> 

My regex looks like this :


How can I exclude the <p>dfgdfg</p>

from my string now?

I know how to search for them but I want it in combination with my regex, so I need it in negation


Here is a playground