Write the script to read lines one at a time from get.txt and put them somewhere else if they don't contain "getget". Then just replace get.txt with the new file.
In other words, go line by line and then search for the string instead of searching for the string and vice versa.