in reply to Remove all lines, except those starting with pattern
Close, just missing parens.
s/^(?!\d+\s+).*\n// [download]