find/replace a carriage return

  • Nobody/Anonymous

    How can i find/replace a carriage return in a document i am editing? Some apps give you a special character such as ^H of ^P. Thanks in advance!

    • Chris Severance

      Chris Severance - 2006-01-06

      Try the Ctrl+R Search & Replace dialog by the TextFX plugin where you can put in Ctrl+M for return and Ctrl+I for tab. You shouldn't have RegEx checked because RegEx is not multi-line compatible.

    • Philippe Warichet


      I can give you a partial response: how to find a carriage return:
      - tick "Regular Expression"
      - put "end$" in the search pattern to match all lines ending with "end"

      But I cannot tell hot to put a carriage ruturn in the replacement string. If you find out, please infor :-)



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks