The part about line breaks is interesting me, because now I'm wondering what kind of text file you have which hard-wraps your phrase in the middle. And also how complex your phrase might be that you need to find the whole thing, you can't just find a sub-section of it.
Have you solved your problem? Can you tell us the file and the phrase?