perl -ne 'print unless /^User/ .. /^->\d/' file > file.new [download]
In reply to RE: Stripping page headers by indigo in thread Stripping page headers by Anonymous Monk