• need some help with find and replace

    已鎖定
    4
    0 評價
    4 貼文
    3k 瀏覽
    Clearinghouse ForsaleC

    thank you

  • Large file 35mg text not displaying correctly and messes up data after HEX conversion EDI

    2
    0 評價
    2 貼文
    2k 瀏覽
    sanastasiouS

    Some buffer explodes obviously… Habe observed similar sporadically reproducable behavior myself…

    I’d suggest to open up a bug issue and post a link to the file.

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues

  • run macro headlessly on specified file

    已鎖定
    2
    0 評價
    2 貼文
    2k 瀏覽
    guy038G

    Hello Cybersquir,

    Why don’t you simply use the Find in Files dialog, with a suitable regular expression ? Of course, all your concerned files should be located in a same directory !

    IMPORTANT : As you intend to change many files, simultaneously, may I suggest you to do a copy of this directory, as a backup, first ?

    Now, open the Find in Files dialog ( CTRL + SHIFT + F )

    Choose the absolute path of the folder, containing all your files

    Possibly, filter with one or several specific extension(s)

    Set the Regular expression search mode

    Check/uncheck the other options, as needed

    Then, for instance :

    To remove the first 5 lines of every file, of this folder, use :

    SEARCH \A(?:.*\R){5}

    REPLACE Nothing

    To change some consecutive tabulation characters with a comma, use :

    SEARCH \t+

    REPLACE ,

    And so on…

    Best Regards,

    guy038

  • Copy Regular Expression Search Results to Clipboard

    已鎖定
    5
    0 評價
    5 貼文
    31k 瀏覽
    guy038G

    Hello Robert and Janet,

    Seemingly, as you seem comfortable with regular expressions, you could easily extract the matched strings with a simple regex ?

    For instance, let’s suppose the simple list of people of an enterprise, below :

    Occupation Age Title Name Forename --------------------------------------------- Technician 50 Mr SMITH John Secretary 25 Miss BROWN Amy Manager 40 Mrs HARPER Edith ....... .. ... ...... .....

    and that you would like to do some statistics, depending on the age and/or the title of these persons. Then, you would need, ( may be for confidentiality ! ) to extract, ONLY, the second and third columns of that list. If so :

    Copy this list in an new tab of N++

    Perform the S/R, below, in Regular expression search mode :

    SEARCH .*?(\d+ +\w+).*

    REPLACE \1

    If, in addition, you would prefer to delete any line, that does NOT match the regex, use, instead the S/R below :

    SEARCH .*?(\d+ +\w+).*|^.*\R

    REPLACE \1

    You’ll only get the strings matched by the regex, below :

    50 Mr 25 Miss 40 Mrs

    Note :

    If the regex can’t be found, the first part of the alternative is not matched ( so, the group \1 doesn’t exist ) but the second part of the alternative is, obviously, always matched, as it matches an entire line, with its EOL character(s)

    Best Regards,

    guy038

  • Make list of names clickable?

    3
    0 評價
    3 貼文
    5k 瀏覽
    GreeberetG

    @guy038 Thankyou ,that worked!

    Anyway to hide the skeleton code?

    sorry been trying to reply with proper code block for the past 2 hours but can’t,keep getting:
    Post content was flagged as spam by Akismet.com

  • How to jump out on brackets/quotation/braces

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Files changed - "Yes to all" or "No to all"

    3
    0 評價
    3 貼文
    3k 瀏覽
    Craig HindallC

    Please add this feature. This honestly is the only feature to make NPP perfect for me :)

  • File null

    3
    0 評價
    3 貼文
    5k 瀏覽
    Scott SumnerS

    It is important to make backups of your important files.

  • Recover or fix corrupted .txt file

    已鎖定
    1
    0 評價
    1 貼文
    5k 瀏覽
    尚無回覆
  • Search and replace crash on large files

    已鎖定
    2
    0 評價
    2 貼文
    4k 瀏覽
    dailD

    This seems to be a good indication of which plugin…

    Fault Module Name: LocationNavigate.dll

  • What version to download

    已鎖定
    2
    0 評價
    2 貼文
    2k 瀏覽
    Gary and Ellie FieldG

    All versions after 6.8.2 have unfixed bugs.

  • cannot find help files anywhere

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Change the default encoding for notepad++

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Show character code

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Splitting files?

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Problem with Launch In Firefox (with x64 Firefox)

    已鎖定
    2
    0 評價
    2 貼文
    5k 瀏覽
    Franco PetitF

    Hi.

    Problem Solved.

    Found here : https://unacatarsisdetransfiguracion.wordpress.com/2007/11/04/how-to-open-a-file-in-opera-from-notepad/

    Solution : I edit the Windows Registry to add firefox.exe (x64) in “app Paths” key.
    reg.exe add “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe” /ve /d “%programfiles%\mozilla firefox\firefox.exe” /f

    I think it was old path, firefox x86.

    Bye :)

  • How do I correctly import Smarty as a language?

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • secure pad does not install

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • NUL character in notepad++

    已鎖定
    1
    0 評價
    1 貼文
    3k 瀏覽
    尚無回覆
  • Language Call Tip (API)

    已鎖定
    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆