Replace multiple lines in multiple files

  • Dan Bramall
    Dan Bramall


    Is there a way to replace multiple lines in multiple files at once - preserving line breaks in the code?

    I've tried CTRL + R which lets me replace multiple lines in the current doc, and I've tried 'replace...' from the menu which lets me replace single lines in multiple files, but can't seem to get both.  I understand it might be possible by creating line breaks in the single line replace window by clicking CTRL + Enter, but I'd rather not have to do this as the code I'm replacing is quite long.

    Thanks for any pointers!