eclipse search - regex finding start/end of file with carriage return

Viewed 13208

I would like to remove any line breaks/carriage returns at the start and end of files but eclipse doesn't seem to recognize $$ or ^^ for end/start of file. Anyone know how to do a regex with eclipse search?


sof ^^ Start of File
eof $$ End of File
2 Answers
Related