☰ Categories

Linux: Using sed to quickly clean html tags from a file

The following command will remove html tags from a file.

sed -i e ‘s/<[^>]*>//g’ file.html

By: O Dietsche