nix, shell, perl, php, mysql and mac os x tips and tricks

Thursday, May 20, 2010

sed one-liner for removing HTML tags from a file

sed -e 's/<[^>]*>//g' myfile.html

1 comment:

  1. frickin hate when blogger changes my greater and less than signs!!

    ReplyDelete