Deleting all lines containing numbers

Hi guys

I have a text file in the following format

what i would like ot do is iterate through the file deleting the lines containing only numbers. I have googled this and have been unable to find any help ( maybe its my search terms)

so if any one an give me a heads up i would appreciate it

dunryc

How about using grep:

grep '[^0-9]' filename

that works a treat would you know if there is any way of replacing those lines with another string ?

thanks

Assuming numbers are 7 digit length:

sed 's/[0-9]\{7\}/string/g' filename

Generic approach:

sed 's/[0-9]\+/string/g' filename