• Select only text strings in HTML

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bart-Van-Audenhove

    you can use regular expression search and replace with a technique like described here.

    Cheers
    Claudia

  • need to remove blank lines?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Tim-OBrien

    Menu Edit->Line Operations

    Cheers
    Claudia

  • Macro problems

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Per IsaksonP

    @Jayson-Cohen

    If you are comfortable with some programming you might want to check out

    PythonScript LuaScript

    This community will help, I’m sure.

  • Text File does not display in Notepad++ (Many versions)

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Meta ChuhM

    @Steve-Dyson

    Can I change the default character set when an existing file is opened?

    unfortunately not at the moment, this has not been fixed yet.

    even if you go to preferences > misc > and disable autodetect character encoding, it will open an existing utf8 file as utf8 and not to what you’ve set as your default

  • Setting a user file extension is not working on brand new Windows 10

    2
    0 Votes
    2 Posts
    1k Views
    Mikko RantalaM

    I have the same problem currently. Added a user file extension (rrx) into the VB/VBS category some time ago already but recently these files are back to being detected as xml types.
    Since this feature has worked for me in the past I’m not sure if this is due to Notepad++ or some Windows update. I have this problem with Notepad++ 7.5.1 on Windows 10 and 2012 R2. Both OSes have latest updates.

  • Need help with file association

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    silent5amS

    @Claudia-Frank

    Hi, I already tried that but it doesn’t work. Somehow Windows (or Notepad++) doesn’t “remember” the software associated with the file.

  • Help with recoveries

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Luis-Piña-III

    depending on how you installed notepad++ you do have either a
    backup directory under INSTALL_DIRECTORY\notepad++
    or under %APPDATA%\notepad++.

    Check if you find the files there, if you can’t find it they are most probably gone.

    Cheers
    Claudia

  • Notepad++ GNU Source code editor has stopped working.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @thongtin-congnghe

    without additional information we don’t know also.
    Did you try the obvious steps like restart windows, reinstall notepad++ etc… ?

    Cheers
    Claudia

  • Why is "depth" highlighted in an *.sql file?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Pete NorrisP

    MAPJe71, Scott Sumner;

    Thank you for responding to my question. I appreciate the help.

    I think it would be a good idea for me to change the column name to a different name.

    Thanks again. : )

  • How can I find out if a reported bug is even being considered for a fix.

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    RHscitechR

    Hi Scott,
    Thanks for the swift reply. That is pretty much what I expected. I also spotted your post the the original bug posting pointing back to my original posting asking for testing on these forums. Thanks for doing that.

    I understand the need to prioritise and that is exactly the response that I gave to the people who are chasing me about if it has been fixed.

    I don’t think I have the skills to fix the bug but I might be able to work out where it is coming from. I did work in IT for 7 years as a webdesigner/programmer/general dogsbody before moving into my current job. Infact that is the reason my establishment approached me when they needed a bit of software to do what I recommended np++ for.

    Thanks again for your reply.

    John.

  • 0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    @D.J.-Gibson
    yes, you can do this by using regular expressions in the replace panel of np++

    here is an example:

    original data:

    <title>test me</title> <a href="https://notepad-plus-plus.org"> https://notepad-plus-plus.org </a>

    activate search mode: regular expression:

    find what: <(.*?)> replace with: (leave this line empty)

    result:

    test me https://notepad-plus-plus.org
  • exclude file from search

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Bug] Search in open files - jump to occurence

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @thexmanxyz

    if you already did the research when and how it is happening then it would be nice if you could describe
    what needs to be done to replicate that issue in detail.

    Cheers
    Claudia

  • Mark sentence without .

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Claudia FrankC

    I assume it isn’t really variable but a predefined set of possible characters, if so
    you can build an alternation class like this

    [\.\*-:]

    This class would look for either a period, a asteriks, a dash or a colon.

    If you ask yourself why this backslash appears then it is because regular expressions uses
    special chars for doing something special :-)
    Like the period is used as a placeholder for ONE char and the asteriks is used as a multiplier.
    And if you want to search for those chars literally you need to escape them by putting a backslash
    in front. Now you see, that backslash itself is a special char too and in case you want to look for
    a backslash you need to put another one in front.

    If you want to understand more about regular expression I would recommend reading
    this.

    Cheers
    Claudia

  • PythonScript not displaying errors in console

    Locked
    10
    0 Votes
    10 Posts
    5k Views
    William WinderW

    @Claudia-Frank I should do some experiments: when that class was not commented out, I got nothing in the console, black or red. It isn’t a problem now, but I’m a bit curious. (Thanks for the tips.)

  • Search and merge the copy onto another file while keeping the line row.

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @fullpocoyo-as

    If these are random lines than I don’t see how this could be achieved in a simple way using
    notepad++ builtin functions. I would propose to use a scripting plugin like
    python script or lua script or whatever else is out there and able to get access to the
    content of the document.

    Cheers
    Claudia

  • Decimal Points conflicting with Period as Keywords

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Miguel NunesM

    @Claudia-Frank
    That did it, thank you very much.

  • Possible Bug: NPP 7.5.1 - Playing "Tag" with multiple open tabs

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    AngryGamerA

    Can you make a small recording of the problem in question?

  • Crash then current file empty

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Joël-Thieffry

    I assume it is better to post this issue here.

    Cheers
    Claudia

  • Save a file in UTF-8 without bom not possible?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    UTF8 and ANSI, whatever this means in your case, do share a common set of characters.
    If your data consists only of these characters there is no way to determine the “user-wanted”
    encoding. If you like to work mainly with UTF8 document one thing you can do is to set the
    new document specifics like so.

    If you want to understand the encoding stuff better, you may want to read this article.

    Cheers
    Claudia