• Is it possible to search and replace text without touching html tags?

    3
    0 Votes
    3 Posts
    945 Views
    alfredodo1A

    Hi guy038 you really rock thank you so much for your help, that’s very kind from you. Your solution works wonder, thanks for this very detailed help !

  • Yaml double quotes

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Axonn EchysttasA

    @guy038 G’dam’ m’man! That’s a niiiiice find. Thank thee! :D. Much obliged’n’all :). And if you wonder why I wrote “G’dam’ m’man!” that way, just listen to https://open.spotify.com/track/1jGvgQkqQtNVj725vg26Ft (it’s an anti-racist song :) ).

  • Changing from Default Style causes printing of blank pages

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    … for example, I took a document I happened to have open, printed it to PDF using PDFCreator, and it was fine. I then changed to “VIM Dark Blue” theme, and printed to PDF, and it was still fine.

    Debug Info =

    Notepad++ v7.5.8 (32-bit) Build time : Jul 23 2018 - 02:03:53 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : ComparePlugin.dll dbgpPlugin.dll DSpellCheck.dll MarkdownViewerPlusPlus.dll NppConverter.dll NppExec.dll NppFTP.dll PluginManager.dll PreviewHTML.dll PythonScript.dll XMLTools.dll mimeTools.dll NppExport.dll
  • Automatic rename of text file to current date

    15
    1 Votes
    15 Posts
    5k Views
    Scott SumnerS

    @NuclearBinoculars said:

    I DID mean to have a reverse slash…For some reason it did not show up

    The reason is that you did not put your text inside proper delimiters (the ones that turn text shown here into a red-on-pinkish background, for example). If you had, it would not have consumed your backslashes. But with your most recent posting you seem to have mastered the delimiters technique, so I’ll say no more… :-)

  • Remove empty lines and timestamp from subtitle file in Notepad++

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Adrian WoodsA

    Thank you very much

  • regex to conditionally delete unnecessary lines in .csv files?

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Scott SumnerS

    @Brandon-Tibbitts

    You can’t do arithmetic in this (regex) manner. You’re going to need a programming language for that, or perhaps, since you appear to have .csv files, pulling the data into Excel to do the math would work. Good luck.

  • Replacing string involving two lines ?

    Locked
    8
    0 Votes
    8 Posts
    1k Views
    guy038G

    Hello, @terry-grafff, and All,

    Oh, unfortunately, how right you are ! All these advert breaks, pre and post-shows are really a calamity :-((( On French TV, as everywhere else I suppose, they tend to increase, year after year !

    We still have, on Net, the possibility to just get, on very few sites, the Knowledge, but for how long ?

    Cheers,

    guy038

  • 0 Votes
    9 Posts
    2k Views
    dinkumoilD

    @Scott-Sumner

    Ahh, much more innocent. ;-)

  • 0 Votes
    6 Posts
    2k Views
    PeterJonesP

    extra: in case you’re curious, since the OP used %L but my example used %1: see this post for a link describing %1 vs %L in registry entries. In short: it doesn’t really matter in this case, because the difference is only significant on old 16bit windows OS (like Win3.11). On modern Windows, %L and %1 are interchangeable in the registry associations. (Only %1 works in .bat/.cmd files, though, which is why I’ve gotten used to using %1.)

  • HTML <a download> not working

    Locked
    1
    0 Votes
    1 Posts
    578 Views
    No one has replied
  • js file not loading

    Locked
    2
    0 Votes
    2 Posts
    542 Views
  • 0 Votes
    3 Posts
    1k Views
    Meta ChuhM

    @Danilo-Schembri

    your regex works for me

    Find: ([A-Z]) ([A-Z])
    Replace: \1_\2
    `Search Mode: Regular Expression

    gives me

    FIELD_ONE
    FIELD_TWO
    FIELD_THREE

    if i press replace all (or repeatedly press replace)

    @guy038
    i think you ment:
    REPLACE \1\x5F\2 instead of REPLACE \1\x20\2

  • 0 Votes
    2 Posts
    708 Views
    guy038G

    Hello, @iskandar-the-pupsi and All,

    Use the following regex S/R :

    SEARCH ^.*[^A-Za-z\r\n-].*\R

    REPLACE Leave EMPTY

    Notes :

    The ^ symbol ,beginning the character class, is the negation character

    The - symbol must be located at the end of the character class as it’s a special** char inside class character

    The \R syntax matches any kind of line-break

    Best Regards

    guy038

  • Keep unsaved tabs open between sessions

    3
    0 Votes
    3 Posts
    710 Views
    Bob BarringerB

    Looks like that worked. Thank you.

  • Memory overload crash?

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    BartB

    Thanks for your elaborated response. Here are some specs:

    My pc has 32GB RAM (windows 7 enterprise) Notepad version: 7.5.9 (64 bit) no plugins installed.

    The last crash i just copied some random text and pasted it allot of times.

    I tried you experiment and got a crash again (https://imgur.com/a/n1NYHhB). This picture also shows the exact error.

  • Plugins are failing in 7.6

    6
    0 Votes
    6 Posts
    3k Views
    Vito EvolaV

    Do I need to make a new folder for each .dll and move the .dll in that folder? What about the other folders?

    Here’s a screenshot - instead of creating new folders and such, I tried to just move everything from right to left (AppData\Local\Notepad++\plugins) and I saw Plugin again in the menu, but not the Plugin Manager.

    Thanks in advance!

  • new FunctionList.xml item doesn't work in Administrator mode

    4
    0 Votes
    4 Posts
    937 Views
    Peter BrandP

    @dinkumoil is correct. You could also try installing NotePad++ in local mode where all the files are stored in the application’s folder and %appdata% is not used.

  • Notepad++ by default

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @Elvinas-Kavaliauskas

    Maybe this is of some interest.

  • Renaming <title> tags using HTML file names

    8
    0 Votes
    8 Posts
    2k Views
    Kevin WoodK

    @PeterJones I can not Thank You enough! I started to refurbish a mainly East Coast, Nova Scotia Music website just for fun “No Profit”. This script was used in the Retro Lyrics section. You can check out the site here: RetroLyrics section http://www.rbops.com/RetroLyrics/SevenSpanishAngels.html)

    Originally 20 years ago the Lyrics were RTF files with DOC extensions that even if you downloaded them, you could not open them. ha ha So you can imagine after some repair to these files I am impressed. I made most of the site mobile friendly & installed many MP3 players on the artists pages.

    All pretty much retired players who had all pretty much played with groups you grew up listening to. Some good ole music.

    Thank You Mr. PeterJones & I will definitely be learning some Perl from your example!

  • Doc switcher crash

    Locked
    1
    0 Votes
    1 Posts
    492 Views
    No one has replied