Delete all line feed (LF) characters in `findAndPreserve` helper.