I want a regular expression (to search in phpstorm) that will search for the starting tag and it's corresponding closing tag in all html files of my project directory.
E.g here is my code
<ul class="sub-menu">
<li id="menu-item-215" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-215"><a href="news-updates/index.html"><span>News / Updates</span></a></li>
<li id="menu-item-295" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-295"><a href="offers/index.html"><span>Offers</span></a></li>
</ul>
I want phpstorm to search for exact these lines of code starting from start ul tag and closing ul tag. I then want to replace these lines with a space. I just want to delete this subheading tag and its content from all my html files at once. How do I do it?