Troubleshooting Tips for Handling Extra Line Breaks in emEditor

Troubleshooting Tips for Handling Extra Line Breaks in emEditor

John Lv8

Troubleshooting Tips for Handling Extra Line Breaks in emEditor

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • May 10, 2008 at 2:23 am #5763
    prashob12
    Member
    Hello:
    I am having a problem while replacing multi-blank line with a single line.
    I tried to add this in a macro i.e. replace nn with n, here i need to run the macro multiple times that i dont want to as there are lot of files.
    Is it possible to replace multiple blank lines as we do multiple spaces i.e. (s){2,} with 1. in one go.
    can i use some “character classes” presesnt in regex.
    Also how should I use the character classes.
    May 10, 2008 at 4:25 pm #5766
    Yutaka Emura
    Keymaster
    I wrote the macro for you:
    http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=682&forum=19
    May 10, 2008 at 6:34 pm #5767
    prashob12
    Member
    can you make this macro run on all the files in certain path where those files are present. please!!!!
    May 11, 2008 at 12:40 am #5768
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    can you make this macro run on all the files in certain path where those files are present. please!!!!
    In that case, you can go to “Replace in Files” on the Search menu, and
    Find:
    (rn){2,}
    Replace with:
    rn
    File Type:
    *.txt (or enter file type)
    In Folder:
    File folder
    Check “Use Regular Expressions”
    Don’t check “Keep Modified Files Open”

  • Author
    Posts

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Troubleshooting Tips for Handling Extra Line Breaks in emEditor
  • Author: John
  • Created at : 2024-10-13 23:32:51
  • Updated at : 2024-10-20 03:47:13
  • Link: https://win-docs.techidaily.com/troubleshooting-tips-for-handling-extra-line-breaks-in-emeditor/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Troubleshooting Tips for Handling Extra Line Breaks in emEditor