By Alfred TuinmanApril 22, 2012 - One minute read - 31 words Edited on March 21, 2023Use the sed terminal command with an input file called say test.htmlsed 's/<[^>]*>//g' input.html if you want to save the output just do the followingsed 's/<[^>]*>//g' input.html > output.txt perlhtmlPlease enable JavaScript to view the comments powered by Disqus.