• Find and Replace

    Locked
    17
    0 Votes
    17 Posts
    6k Views
    Jeremy HJ

    Ok, good to know! Thanks again guys for all the help!

  • How to copy-translate-paste certain lines?

    13
    0 Votes
    13 Posts
    3k Views
    Gregg MorrisG

    Yes, this works really well. I need to replace many large blocks of text of variable size in a large xml file. This solution works well for me.

  • Help need please

    Locked
    5
    1 Votes
    5 Posts
    1k Views
    king robboK

    @Claudia-Frank said:

    @king-robbo

    version control is used to track changes within files (mostly text files).
    Most famous today is, I guess, git.
    But if you have to ask what it is, means that you haven’t used it.
    One other functionality Windows offers is “Previous version”
    Right-click on a file and select properties - the last tab in the property window.
    But this doesn’t, necessarily, give back the previous version but the version
    of the last backup, which means it could have be changed multiple times afterwards.

    So, all in all, this means , that, more or less, you can’t get the information what
    has been changed in the file if you haven’t used one of the tools I mentioned.

    Cheers

    Hi Claudia
    Many thanks for the reply I will have a search around on site here to gain some more info on what is available and what can be done
    cheers

    Claudia

  • np++ 64bit - max number of tabs

    Locked
    8
    2 Votes
    8 Posts
    4k Views
    Jim DaileyJ

    @sign-in-smth

    Perhaps you can figure out an easy way to create a session file that has the files you want to edit, then use the -opensession command line option to open them as a session in a new instance.

  • Installation without Admin privileges

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Payam MinoofarP

    I should have read more carefully. Yes, I’m up with the latest version. Thank you very much.

  • Plugin Horizontal Ruler

    Locked
    2
    0 Votes
    2 Posts
    4k Views
  • Can't download installer?

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    John Simpson24J

    I see this question (not exactly the same, but close) is answered here. So apparently I just need to be patient. :) Thanks!

  • 1 Votes
    10 Posts
    2k Views
    Stefan Huus GregersenS

    @PeterJones
    Pretty good answer! I’d guess that is the closest i would get unless sending a request to add it in as a “feature”

  • https://notepad-plus-plus.org/repository not accessible

    Locked
    2
    1 Votes
    2 Posts
    3k Views
    PeterJonesP

    Yeah, there are occasional outages on some or all of the notepad-plus-plus.org website. (it’s especially annoying when it’s the forum, so you cannot report the problem). They are generally fixed within a couple hours, in my experience.

  • Need help with a search and replace...

    Locked
    3
    0 Votes
    3 Posts
    918 Views
    Terry RT

    I have another regex, this one is possibly a better option as I noticed all your instances of putting the ‘|’ character had either a number before or after.

    So
    Find what: \h(?=\d)|(?<=\d)\h
    Replace with: \|

    So as I said it will only deal with spaces that have a number on either side of it. Therefore it leaves the one alone in (as your example says) “Great Strides”

    Terry

  • 0 Votes
    6 Posts
    1k Views
    Scott SumnerS

    @PeterJones said:

    You do realize…

    LOL … amazing… (sigh)

  • Notepad++ How can I change the font size in Notepad++?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Robert-Snow

    It is fairly customizable…see: See Settings (menu) -> Style Configurator…

    What I do, and it is by no means the only way of doing things, is to choose:

    Language : Global Styles Style : Global override

    and then the Enable global font and Enable global font size checkboxes become visible. I tick those checkboxes and then set a decent monospaced font (e.g. Consolas) and font size (e.g. 9 ) in the Font Style box.

    YMMV

  • converting tabs to spaces

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Anthony RudzkiA

    Thanks

    Tony

  • Is it possible to a xml-file without xml-support?

    8
    0 Votes
    8 Posts
    5k Views
    Klaus LehmannK

    Hello @guy038 . thank You very much for Your good idea! this is the solution!

    in my nortoncommander-clone from Australia: “FCW” I have added in fc.ini:
    [Editor Associations]
    *.{xml}: “c:\Program Files\Notepad++ allegro\notepad++.exe” -nosession -lnormal

    good solution! thanks a lot!

  • remove all text except hex characters

    Locked
    9
    0 Votes
    9 Posts
    3k Views
    PeterJonesP

    It can alternately mean Original Post, as well. You’ve got to take it on context of whether it’s talking about the content or the content creator. :-)

  • 0 Votes
    9 Posts
    2k Views
    Scott SumnerS

    @Terry-R

    It’s a lot of WORK, trying to be helpful! :-)

  • Newbie find and replace

    Locked
    3
    2 Votes
    3 Posts
    1k Views
    Tony HagerT

    Thank you very much!

  • find in files

    Locked
    2
    0 Votes
    2 Posts
    641 Views
    Scott SumnerS

    @Robert-Miller

    Sounds like that is the Find in Files feature conducting its search…seems like normal behavior–do you disagree?

  • Help. Need regex

    3
    0 Votes
    3 Posts
    910 Views
    Terry RT

    First off, apologies @Евгений-Фокин , I misread your question. I’ve come back to it now as I didn’t see you reply to my solution. @Claudia-Frank had upvoted my answer but also misread the question.

    I can see now that in fact you were only wanting to remove the:
    text autoid…</text> IF the line starting with <replacement> in that group of lines had Russian characters in it.

    I have a revised regex which I think fits what you intended. I would suggest testing it by using in ‘Find’ mode first. You could have it bookmark all the instances that it thinks fit the criteria, then look at those before deciding to remove.
    Find What: (?s)<text.+?<replacement><\!\[CDATA\[[\x{080}-\x{4af}].+?text>\R?
    Replace with: empty field here

    The part that checks for a Russian character is the \x{080}-\x{4af}, I hope I’ve got that sequence correct. It only checks the first character, hopefully no non-Cyrillic character at the start with Cyrillic afterwards.

    I would like to hear back from you regardless of whether it helps or not. if it does NOT help, we on the forum are only too willing to offer up other possible solutions.

    Terry

  • Shifting a block of text to the beginning of a line

    Locked
    11
    0 Votes
    11 Posts
    3k Views
    C Ananda RaoC

    Dear Mr Sumner

    Thank you! It worked now.
    I am a little embarrassed to say, but I do not know what I did wrong the first time and what I did right this time.

    Best Regards!

    PS. I am using Notepad++ v7.5.8 32bit