How would you beat this guy? Find and Replace?
First, confuse it by luring it into an environment with a different EOL convention. While it’s confused, cast Text to Speech, which will turn it into sound wave. Then use headphones of noise-cancelling to play an interfering wave.
Alternatively, if you have +1 or better keyboard, you can just use Ctrl+A followed by Del.