I m trying to remove everything inside any html tag:
input:
<a class="yoyo"> <h1 id="test"> hello </h1> </a>
weird example but well
output:
<a><h1>hello</h1></a>
I ve tried /(<\w)(?:.*)(>)/gmi
but its not working...
If you have any clue on that . Thanks
So to explain it more after your comment I scrapped a website and I have a .txt file that i wanna clean. It will contain the whole html of a page and i want to clean every single html tag and remove the spaces aswell. So everything between any <* and > should be removed.