search and delete the lines in a file

HI group members

I am new in unix

I want to search # symbol in a file.
if found need to delete the entire row in the file.
need to move the actual data(with out # symbol data) to another file.

Thanks

awk '!/#/' infile > outfile

a few more ways:

sed '/#/d' infile.txt > newfile.txt
sed -n '/#/!p' infile.txt > newfile.txt
grep -v '#' infile.txt > newfile.txt