Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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.

    #5766
    Yutaka Emura
    Keymaster
    #5767
    prashob12
    Member

    can you make this macro run on all the files in certain path where those files are present. please!!!!

    #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”

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.