I have a long text file with list of file masks I want to delete

This is not very efficient, but will work if you need glob patterns (as in /var/www/*) 
for f in $(cat 1.txt) ; do 
  rm "$f"
done

If you don't have any patterns and are sure your paths in the file do not contain whitespaces or other weird things, you can use xargs like so:
xargs rm < 1.txt

