• Does notepad++ support a "find not" function?

    4
    0 Votes
    4 Posts
    39k Views
    AdrianHHHA

    You could use the “Mark” tab in the search and replace dialogue. Have Bookmark line ticked. Search for the lines that have the string, then use menu => Search => Bookmark => Inverse bookmark**. Now the lines that do not match the search string are bookmarked. The Bookmark menu has several other commands for manipulating the (un)marked lines.

  • Notepad ++ replace last / with ?id=

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @KG-NEWS

    Find-what zone: (?-s)^(.*)/
    Replace-with zone: \1?id=
    Search mode: Regular expression

    How it works:
    On a single line, match any characters until a final / is encountered; remember everything that occurred before that final / as group #1–because of the parenthesis wrapping it. Replace the matched text with the contents of group #1 (the effect of this is to repeat everything except that final /), then insert ?id= into the text. Because what originally came after the final / is not involved in the match, it remains as-is after the insertion of ?id=, giving the final result.

  • UDL (User Defined Language) freezing Notepad++

    2
    0 Votes
    2 Posts
    2k Views
    Gogo NeatzaG

    Notepad++ freeezing is a ‘sign’ that this particular UDL is not a valid file.
    Using N++ to check gives me the following error:
    “XML Parsing error at line 10: extra content at the end of the document”

  • 0 Votes
    1 Posts
    974 Views
    No one has replied
  • Can I redoc nppftp window inside my notepad++ window?

    2
  • Stop that "search" tone!

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Ben VorisB

    Fwiw, I get a short beep, which maps to what Win10 Settings -> Sound -> Sounds shows as “Default Beep”. Not a Windows programmer, so I don’t know if that is the same as “simple beep”.

  • Plugin Manager 32 bit

    Locked
    2
    1 Votes
    2 Posts
    10k Views
    MAPJe71M

    Search for “no plugin manager” in this forum and find your answer.

  • Remove XML sections where <MediaFileLink> tag does not contain http://

    Locked
    1
    0 Votes
    1 Posts
    868 Views
    No one has replied
  • Notepad++ shows CSS in black and format?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • What does "425 Blocked ip" mean?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can NPP support terminal with line handshake character feature?

    Locked
    1
    0 Votes
    1 Posts
    863 Views
    No one has replied
  • Function List option for different Keywords

    7
    0 Votes
    7 Posts
    4k Views
    GopiEinsteinG

    wwhat are you doing you don’t know about me

  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    20 Posts
    9k Views
    Jos MaasJ

    @guy038
    Hello, Guy,
    In a reply of about a montha ago, you wrote “Be aware that, UNLIKE script languages, as Python, or Lua, regexes CANNOT store all successive values of the groups !”.
    The good news is now that I have a set of working regexes for some sorts of indexes. I would go further now, but It turned out, that the amount of characters that a regex can handle is too small for my goal. So I think I have to use python to do the trick. I know a bit of programming (I learned the basics of algol and fortran some 50 years ago), but I did not do that job for years, so I fear that it will take some time before I am able to make working python-scripts. Therefor, I would like to ask you some questions so I don’t have to read lots of documentaries and forum-discussions which might be irrelevant for my limited goal.

    Can named groups from a regex used in write-statements? If Yes, could you give an clarifying example? does python have limitations in the amount of characters in regexes?

    Thanks in advance, best regards, Jos

  • Notepad does not open good file content

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    gstaviG

    Probably related to this.
    Porting 32 bit OS to 64 bit while maintaining compatability is tricky.

  • Typographic alignment..

    Locked
    1
    0 Votes
    1 Posts
    977 Views
    No one has replied
  • v7.5.1 Setup Error: Langs.mode.xml

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Find exact lines

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Scott SumnerS

    @Gabriel-Clifton

    Not too hard, try this:

    Find-what zone: Word\x20$
    Replace-with zone: Word,
    Search-mode: Regular-expression

    You can use a plain old space instead of the \x20 but I like to use \x20 here on this site because it is more visible. Either works when you are actually doing it.

    So in the spirit of learning something, the $ is the key element here. It basically means end-of-line…so you are searching for W…o…r…d…space…followed by nothing else on the line. Replacement affects only those cases where a search match occurred, obviously.

  • 0 Votes
    5 Posts
    2k Views
    Guido MakorG

    Thanks @cmeriaux and @Scott-Sumner240 for the upvotes. I guess that’s adding to my ‘reputation’, right? Much appreciated!

  • SFTP connection to Google Cloud Compute Instance not working

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied