Strip HTML Tags

Remove all HTML tags from a string.

Code

General
echo "$str" | sed 's/<[^>]*>//g'

Parameters

The string containing HTML tags to remove

Server

More Bash Snippets