I'm trying to export a mysql table into csv format, by running this command in mysql command line
mysql -u root -p mydb -e "select * from mytable" -B | sed "s/'/\'/;s/\t/\",\"/g;s/^/\"/;s/$/\"/;s/\n//g" > mytable.csv
however there are many html tags and characters so is there anyway i could add a command to parse the html???