I have 2 html tags. But only the first tag has these 2 words: elementor and widget. So I want to find all html tags that has those 2 words, and if finds, delete the entire tag.
<p class="jopp">.elementor-widget-text-editor: nu (.Elementor-drop-cap-view-default) .Elementor s 50px} .Elementor-widget-text-editor .Elementor-drop-cap-letter {display: inline-block}</p>
<p class="jopp">Sunt fascinat de cazuri legale despre artă.</p>
I try to make a formula regex, but doesn't work:
(<p class="jopp>).*\K(?:\h+(elementor|widget))(?=.*p>)