grep .flac playlist.html|sed -e s/href\=[^\/]*\\/[^-]*-[0-9][0-9]_[1-4].flac/href\=playlist.html/g in vi, drop the double \\ not sure why comand line needs it..