• Remove certain section from a lot of links

    4
    0 Votes
    4 Posts
    379 Views
    gerdb42G

    @Amigo-Barrio as Ekopalypse already stated you need to look for some kind of pattern to identify what has to be removed. In your case you have a fixed URL followed by some arbitrary digits followed by the name of a .jpg image. You may achieve the replacement using a Regular Expression (regex for short). The following will pick the entire URL, extract the fixed part and the .jpg name and re-join them omitting the digits:

    Search for: (https://dev.umb-schiffsmodelle.com/wp-content/uploads/2022/10/)\d+/(.+.jpg)
    Replace with: $1$2

    To fine-tune the regex you may want to have a look at this FAQ.

  • Highlight keyword followed by space

    3
    0 Votes
    3 Posts
    305 Views
    G

    @PeterJones

    Thanks

  • notepad was reloaded by night and opened but closed all opened tabs

    3
    0 Votes
    3 Posts
    352 Views
    Sergio VikS

    @PeterJones Hi, thank you very much i added Autosave plugin and all works good. But i remember i already added this plugin earlier, but i do not know how this plugin was removed.

  • A regex question

    2
    0 Votes
    2 Posts
    146 Views
    guy038G

    Hello, @jijo,

    Easy with regexes !

    So, open the Replace dialog ( Ctrl + H )

    SEARCH (data#1191 )\(dodo\).+

    REPLACE \1dodo

    Tick the Wrap aound option

    Select the Regular expression search mode

    Click once on the Replace All button

    Voila !

    Best Regards

    guy038

  • Debugging macros

    2
    0 Votes
    2 Posts
    247 Views
    Alan KilbornA

    @sunvis0r

    When you find your macros becoming large and unwieldy, it may be time to move to scripting. Notepad++ has some excellent scripting plugins, in Python and Lua. But…scripting isn’t for everyone.

  • Removing white strip from autocomplete window.

    3
    0 Votes
    3 Posts
    405 Views
    Главный РедакторГ

    @PeterJones ,
    I’m using Notepad++ 8.4.6. on Windows 10 Pro 22H2.

  • Display Change History setting affects Printing

    2
    0 Votes
    2 Posts
    363 Views
    PeterJonesP

    @Kevin-Golde said in Display Change History setting affects Printing:

    Has anyone else had this problem?

    Our Change History FAQ describes that problem, and links to the existing bug report for the problem.

  • How can I make Notepad++ generate the config.xml ?

    3
    0 Votes
    3 Posts
    1k Views
    Roy WisemanR

    @PeterJones Thanks Peter, I can work with that - I think I’ll use the portable zip version then (strange that I didn’t notice this before, thanks!).

  • Notepad++ • Line number, starting from line 1 - not 0

    2
    0 Votes
    2 Posts
    179 Views
    Alan KilbornA

    @Wawuschel

    What’s your plugin list look like?
    Paste Debug Info here.

  • Plugins Admin is missing in minimalistic package (SOLVED)

    7
    0 Votes
    7 Posts
    614 Views
    epikgitE

    @Alan-Kilborn why should I flame your posting in my thread???

    Well listen, you were right.
    Thank you for your contribution and have a good day my friend.

  • Translate only part of an xml text from one language to another?

    6
    0 Votes
    6 Posts
    2k Views
    Tonio Mr.BamboloT

    Hello @guy038

    Thanks to your scheme to follow after 3 attempts (but only because I did not understand some terms well) I was able to reassemble the localization file.
    Now the menu is in Italian, even if some terms are translated (cupola instead Cappello :)) but in any case everything is finally working.
    The only regret is that I have received a great deal of breath on this comunity
    known through research and use of the program, But I will never be able to reciprocate the help received towards anyone, as I hardly know the first basic commands :(

    Anyway, thank you very much again

    sincere greetings

    Tonio

  • 2 Votes
    5 Posts
    7k Views
    daMatzDaMatzD

    @PeterJones

    This is awesome and exactly what I was looking for, thanks for taking the time and explaining everything!
    Just recorded the macro and will use it in the feature!

  • Vertical red lines out in gray left margin by numbers

    23
    0 Votes
    23 Posts
    5k Views
    DadD

    Just checking back in to see the latest.
    Much love to all involved in producing this excellent piece of software that I have been using almost daily for years now.

  • Adding a number 1 to 6 at the end of each line

    2
    0 Votes
    2 Posts
    143 Views
    Terry RT

    @Mr-Nome

    I supplied a solution for a very similar problem, see the post here.

    Hopefully you can alter that solution to meet your needs, else come back to us and possibly someone can help further.

    Terry

  • The bottom is black

    2
    0 Votes
    2 Posts
    225 Views
    Alan KilbornA

    @Jari-Rubano

    Probably THIS is the problem?

  • How to switch off "Changes marked Green"?

    4
    0 Votes
    4 Posts
    1k Views
    Terry RT

    @Michael-Bär said in How to switch off "Changes marked Green"?:

    But can I only use this Feature on-screen and not for printing?

    As the FAQ post stated, the print issue will be resolved in time. So if you want to print without the colour issue follow the instructions mentioned.

    Terry

  • Mistakenly clicking Close All BUT options

    6
    1 Votes
    6 Posts
    967 Views
    Mr-BrunesM

    Tx to whoever for implementing a solution to https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10776 in v8.4.6 (though I didn’t spot it in the readme) i.e. a new contextual “Close Multiple Tabs” nested menu option which moves potentially destructive operations away from an easy mis-click.

    :-)

  • BUG Report on Project Panels, I lost Project Panels again !!

    5
    0 Votes
    5 Posts
    534 Views
    Rich LysakowskiR

    @PeterJones Thank you for your patient explanation. I must admit that I must not have saved the Panels or Workspaces. I have some Workspaces saved with XML file extensions, but I did not really understand that Notepad does not track workspaces. I got confused because Project_Panel_1, Project_Panel_2, Project_Panel_3 never change names. I also recently found a lot of files in my Notepad++ “backup” folder that has the “lost” files, and I was able to load/restore them back into project panels.

    From asking my question and reading your answer and the docs, I have a much better understanding of how things work.

    Thank you.

    Rich Lysakowski

  • Toggling dark mode programmatically

    3
    0 Votes
    3 Posts
    780 Views
    ZippoLagZ

    @PeterJones thank you for the reply!

    Sadly, I’m trying to make Npp change themes even while it’s running, so I’m leaning towards developing a plugin or a macro or something that will let me do that. I just need a Saturday off or something :D

  • Regex Find & Replace after Specific Text

    9
    0 Votes
    9 Posts
    748 Views
    Chase RankinC

    @PeterJones Thanks so much for all the help. I got it done with the old version by just force clicking through it all. Pressing my IT dept to install the newest version. Thanks again!