Remove HTML Tags from a File
Posted by Michilimackinac in UNIX
This a useful one-liner using sed to remove all the HTML tags from a file:
sed -e ‘s/<[^>]*>//g’ foo.html
The Conversation
Follow the reactions below and share your own thoughts.
Posted by Michilimackinac in UNIX
This a useful one-liner using sed to remove all the HTML tags from a file:
sed -e ‘s/<[^>]*>//g’ foo.html
Follow the reactions below and share your own thoughts.
October 14, 2008 at 3:15 pm, Christoffer said:
Thank You.. You also saved my day.
November 20, 2008 at 4:57 am, Anonymous said:
Awesome! Thanks heaps for sharing
November 26, 2008 at 5:58 pm, Tex said:
Thanks a lot!!!!!!!!!!!!!!
February 16, 2012 at 10:22 am, cinas said:
Great, very simple and just works
September 26, 2012 at 1:00 pm, janem said:
Thanks a lot, handy little thing
December 23, 2012 at 4:07 am, Vlad said:
Damn u just save my day, thx bro!