Answer the question
In order to leave comments, you need to log in
How to remove all html tags in vim?
There is a html file with a bunch of unnecessary tags and classes, I need to copy only the text from the tags, can I somehow do this in vim?
That is, remove the tags and leave the text.
Answer the question
In order to leave comments, you need to log in
And I found a solution.
Here in this article
https://habr.com/ru/post/119059/
%s/<[^>]*>//g
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question