• How to extract ....

    4
    0 Votes
    4 Posts
    396 Views
    guy038G

    Hi, @martin-huh and All,

    Ah… OK ! So, here is the road map :

    Open your huge file in Notepad++

    Open the Mark dialog ( Ctrl + M )

    SEARCH (?-i)(?<=ECB )\w+

    Tick the three options Bookmark line, Purge for each search and Wrap around

    Click on the Mark All button

    => The appropriate words, which follow the string ECB and a space char should be highlighted in red

    Now, click on the Copy Marked Text button

    Open a new tab ( Ctrl + N )

    Paste the clipboard contents ( Ctrl + V )

    Here you are ! You get the list of all these specific words

    Now, if you prefer the list of all lines containing, at least, one of these key-words :

    Right-click on the Bookmark margin and select the Copy Bookmarked Lines item ( or use the Search > Bookmark > Copy Bookmarked Lines option )

    Again, open a new tab ( Ctrl + N )

    Paste the clipboard contents ( Ctrl + V )

    Notes :

    The in-line modifier (?-i) forces the search to be sensitive to case ( non-ignore case ), whatever you’ve ticked, or not, the Match case option

    The \w+ represents the non-null range of regex word characters to search for

    The (?<=ECB ) is a look-behind structure, so a condition which must be true before the word to match but which is not part of the match ( Note the space char before the closing parenthesis )

    So the overall regex can be expressed, in English language, as :

    Match any word which is preceded by the string "ECB ", with that exact case

    Best regards,

    guy038

  • Beginning letter replacing

    11
    0 Votes
    11 Posts
    720 Views
    kracovwolfK

    I tried tweaking this since I found ones that begin with “L…”, so I tried \bL… but I didn’t realize that the periods act as wildcards so they changed all characters to periods. It changed “Well I can” to “Wel… I can” so obviously my tweak isn’t any good. If anyone has a solution let me know.

  • Config files documentation wrong?

    5
    1 Votes
    5 Posts
    249 Views
    oO0XX0OoO

    Ok, done. Thanks for the suggestion / comment

  • How to move the second line into the last line in the paragraph?

    20
    0 Votes
    20 Posts
    699 Views
    Reza SaputraR

    After hundreds of trying. I m figure out that I can delete some words between two special characters. So that the best I can do, instead of moving into the next line :(

  • How Do I Delete Search Entries?

    36
    0 Votes
    36 Posts
    26k Views
    guy038G

    Hello, @troglo37, @peterjones, @alan-kilborn, @ekopalypse and All,

    @troglo37 :

    Well, you could have guessed, with a bit of deduction, even if not aware about technical matters !!

    Firstly, look at the four main fields of the Find in Files dialog ( Ctrl + Shift + F ):

    Find what:

    Replace with:

    Filters:

    Directory:

    Secondly, look at the first 4 attributes of the <FindHistory •••••••••••••••> tag :

    nbMaxFindHistoryPath

    nbMaxFindHistoryFilter

    nbMaxFindHistoryFind

    nbMaxFindHistoryReplace

    Isn’t it obvious ?

    Still confused ?

    Then, let’s re-organize these four attributes, like below :

    nbMaxFindHistoryFind

    nbMaxFindHistoryReplace

    nbMaxFindHistoryFilter

    nbMaxFindHistoryPath

    I hope you get it :-))

    Best Regards,

    guy038

  • How Do I Keep Multiple Tabs Saved in Notepad++?

    18
    0 Votes
    18 Posts
    10k Views
    Troglo37T

    @Michael-Vincent I’ve tried all of those. As far as I’m concerned, N++ is better than them. I like it because of the aethectics and various features it provides.

    I began using Bookmarks in my browser as a backup about a year ago, but would never use that as my primary source.

    @PeterJones said in How Do I Keep Multiple Tabs Saved in Notepad++?:

    @Troglo37 said in How Do I Keep Multiple Tabs Saved in Notepad++?:

    so I decided to break them up into categories by using the tabs for each category to make them easier to navigate through.
    So now you know why my understanding and knowledge of how N++ works is very limited.

    … and now you know that each tab is a different file. And if you want to properly save that file, you have to give it a name and make sure you know where it’s saving each file (so that you can find those files again later, or using a different application some day in the future)

    I just checked and they’re all saved as individual files. Oh BTW, periodically I copy my N++ to an external drive as a backup in case my PC crashes.

  • 0 Votes
    22 Posts
    1k Views
    PeterJonesP

    @Acme1235 said in How to add a blank space and a word before every comma in some meta tags in every html file of a folder?:

    Just an FYI a good place to learn regex and test your code is regex101.com

    … which is linked to in the Regular Expression FAQ that we have repeatedly asked Ramanand to read.

  • 0 Votes
    27 Posts
    7k Views
    Ramanand JhingadeR

    @Robin-Cruise Thank you. I already did the needful!

  • 0 Votes
    2 Posts
    660 Views
    EkopalypseE

    @Vir-Singh

    I would use the shortcut CTRL+PageUp/PageDown to switch tabs when recording a macro.

  • 0 Votes
    5 Posts
    1k Views
    Robin CruiseR

    SEARCH: (")(.*?;)(.*?)\s+
    REPLACE BY: \1\r

    OR

    SEARCH: (")(.*?;)(.*?)\s+
    REPLACE BY: \1\r\t\t\t\t\t

  • File extensions overwritten by default

    9
    0 Votes
    9 Posts
    772 Views
    mere-humanM

    Here is the fix: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9945
    I hope it will be in N++8 RC4

  • How to get indent folding in plain text or user defined language?

    5
    1 Votes
    5 Posts
    3k Views
    Alan KilbornA

    @henvu50 said in How to get indent folding in plain text or user defined language?:

    I just discovered a new software called Sublime Text.

    One thing you forgot to mention in your rave review of Sublime Text is that, unlike Notepad++, it is not zero-cost software.
    You are bound to purchase it if you want to use it.

    The spell check works without any problems as well.

    Notepad++ doesn’t have a spell check, so comparing it with Sublime Text on this point is apples and oranges.

  • Notepad++ Editor layout

    3
    0 Votes
    3 Posts
    377 Views
    F

    @Alan-Kilborn Thanks man

  • How to make dspellcheck work when language is set to python?

    4
    0 Votes
    4 Posts
    376 Views
    Alan KilbornA

    @Terry-R said in How to make dspellcheck work when language is set to python?:

    See this post.

    That bit of text might very well result in an issue being logged against Notepad++, despite your follow-on wording. Not the end of the world, but, not appropriate, either.

  • Find dialog keeps opening multiple times when closed

    7
    0 Votes
    7 Posts
    401 Views
    James Dunn 0J

    @PeterJones Think I have found the culprit. Stardock WindowBlinds. If I disable that, the issue disappears.

  • how add specific character in the end of the line after one empty line

    4
    0 Votes
    4 Posts
    251 Views
    Reza SaputraR

    @Terry-R said in how add specific character in the end of the line after one empty line:

    @Terry-R said in how add specific character in the end of the line after one empty line:

    I note that you typed (space), I’m assuming there is an actual space (blank) character there, not the word inside ().

    As I said, I wasn’t certain of your statement so I went with my first solution. If the line you want to add ==== to was the ONLY line starting with a character that’s not the space (\x20) then the following should also work.
    Find What:(?-s)^[^\x20].+
    Replace With:$0====

    Terry

    Thank you so much brother. This is works very well.

  • Can I edit this file in Notepad++?

    5
    0 Votes
    5 Posts
    3k Views
    Terry RT

    @Don-Diegue said in Can I edit this file in Notepad++?:

    You say it’s possible to edit such file with a binary editor. Can you recommend one?

    No, and that’s because as has been mentioned already ( @PeterJones ) there will be a specific format to the data within the file. Changing lengths, or possible delimiters without knowing the exact format contained within will very likely lead to a corrupt file. Having said that again as @PeterJones said, the text portions might be editable without corrupting the file.

    But I would strongly suggest you do not edit this file with anything other than the “owning” application, which you say is Story LANGuage.

    Terry

  • How to set the default view

    13
    0 Votes
    13 Posts
    5k Views
    PeterJonesP

    @Bart-Terryn said in How to set the default view:

    As far as I know the -nosession setting should only prevent Notepad++ from reopening the files that you had last open.
    But apparently it does more than just this.
    Do you think I should open up a ticket for this?

    Download the portable v8.0-RC2 and see if it behaves the same in the newest version. If it does, then I’d say it’s at least worth reporting. If you put in a new issue, make sure to include the Debug Info for both v7.9.5 and v8.0-RC2 and say it happens in both, so that they know it’s not just a regression in v8.0.

  • SpellCheck help 12517 error when DL dictionary

    2
    0 Votes
    2 Posts
    277 Views
    Matt HarasimoM

    Found a workaround/solution myownself; I DLed the ENTIRE LibreOffice/Dictionary repo as a zip, extracted the folder /en from it, and copied ALL the files in that into the C:\Users\User\AppData\Roaming\Notepad++\plugins\config\Hunspell\ directory, overwriting what was there. Reload NPP, now works. Musta missed the file(s) that told NPP/DSpell how to use the .aff/.dic files.

  • Delete blank lines of multiple opened files

    16
    0 Votes
    16 Posts
    2k Views
    Ramanand JhingadeR

    @PeterJones Thank you very much, it worked like a charm!