• как вставить код счётчика в код сайта. ?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ Serverlog Sorted by IP (most accesses)

    Locked
    2
    0 Votes
    2 Posts
    842 Views
    Scott SumnerS

    @Chris-Rock

    Potentially, although this is more of a data manipulation issue than a Notepad++ discussion point…

    Perhaps if you share a sample of your data someone will be able to give you some pointers on how to process it, either via Notepad++ or some other way…

  • notpad++ 7.5.6 install and plugins

    Locked
    4
    0 Votes
    4 Posts
    9k Views
    chcgC

    Yes, it is possible to run the 32 bit version also on a win 64 OS version.

  • N lines renumbering

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    cipher-1024C

    If your line numbers are the first thing on the line, and they aren’t referenced anywhere in the code (no GOTO type statements) then you could whack all the line numbers with a regular expression in the search/replace box with ^\d+ in the “find” box and nothing in the replace box. When you’re ready to number the lines again, you can go to the menu and do
    Edit->Column Editor->Number to Insert
    input your starting number, increment, and repeat parameters and NPP will insert your line numbers for you.

    If you’re going to be doing this kind of thing a lot, Mikhail’s method and workflow is probably better, but this will do in a pinch.

  • Where to download the plugin manager from?

    Locked
    2
    1 Votes
    2 Posts
    8k Views
    chcgC

    With current N++ versions yes.
    You may read https://github.com/bruderstein/nppPluginManager/issues/80 on that. To install it manually take https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.11 (for 32bit PluginManager_v1.4.11_UNI.zip) and see https://bruderste.in/npp/pm/#install.

  • Collapse Folders as Workspace by default

    Locked
    1
    1 Votes
    1 Posts
    885 Views
    No one has replied
  • Search and replace an html tag block (table)

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Greg JeuG

    wow! thank you very much!
    It works perfectly with scott-sumner’s solution.
    guy038’s only finds the first (of two) table I’m looking for in the file.

    But your explains are great and help me understand better regexp!

    Thank you very much.

  • replace multi strings by other strings

    Locked
    2
    0 Votes
    2 Posts
    835 Views
    Pouemes44P

    i give you the solution
    search (word1)|(word2) replace (?1word3)(?2word4) (regular expression)

    mean word1 if found is replace by word3, and word2 if found by word4

    but not tested with a lot of words

  • How to multiline edit by notepad++'s shortcut key

    Locked
    2
    0 Votes
    2 Posts
    982 Views
    Autumn QiuA

    How to do like the link gif Image by notepad++'s shortcut key. Any help would be appreciated.
    Gif Image One
    Gif Image Two

  • Set word-wrap column

    6
    0 Votes
    6 Posts
    12k Views
    Gabe SventekG

    If you type a value, say 80 in your case and copy or cut it (get it into the clipbopard) then when you use the Text FX Edit function to “Wrap text To…” it will honor the value in the clipboard rather than 72. Unfortunately, this ruins some of the formatting, secifically tabbed elements…not cool.

    I have resorted to using the Alt+Left Click and Drag column selection method to simply view given size, referencing a text bloc, a bunch of #'s, that have the desired length. None are optimal…

  • selection length issue with char §

    3
    0 Votes
    3 Posts
    1k Views
    guy038G

    Hello @smth76 and All,

    Yeah, in an ANSI encoded file, any character, with Unicode value, between \x80 to \xBF, is NOT taken in account :-(( It’s a very old bug. In an encoded ANSI file, you can search these characters with the regex [\x80-\xbF]

    On my laptop, as I’m French, the NON Unicode encoding used, in ANSI, is the Windows-1252 encoding

    Luckily, nowadays, it’s better to use any Unicode encoding, that is to say, any other encoding but ANSI ;-)) In that case, the selection of all these characters do give the expected result : 64 characters selected

    In an Unicode encoded file, these characters may be found with, either, the regexes :

    [\x80-\xbF]

    [\x{80}-\x{bF}]

    [\x{0080}-\x{00bF}]

    Best Regards,

    guy038

  • Syntax highlighting: automatic group

    Locked
    1
    0 Votes
    1 Posts
    721 Views
    No one has replied
  • Copy and Replace

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    PeterJonesP

    Your spec is rather ambiguous, but I think this will do what you asked for (in that it mimics the output):

    Find what : (?-s)^(.*$\R)^(EN)$ Replace with : $1New text $1$2 ☑ Regular Expression Make sure you’re on the Find in Files tab

    Find details:

    (?-s) = make sure . does not match EOL characters (this will ensure that the next parenthetical will only match one line’s worth () = Everything inside parentheses gets put into the next $# variable ^ = matches the beginning of a line $ = matches the end of a line \R = matches the EOL character sequence (whether it’s a linux LF or windows CR+LF or old mac CR) ^(.*$\R) = combining concepts above: match all the text between the start and end of line, plus the EOL sequence, and store it all in $1 ^(EN)$ = match the entire line matching EN, and store EN in $2

    Replace details:

    $1: quote the values in $1, so it will be the fifth line and its new-line sequence new text $1: add “New text”, followed by a space and the full contents of the fifth line (including its newline) $2: quote the EN

    P.S. :
    (paraphrasing @guy038, the forum’s regex guru, who compiled these great regex resources, but hasn’t shared them in this thread yet):

    Here is a good starting point for NPP users unfamiliar with regular expression concepts and syntax:

    http://docs.notepad-plus-plus.org/index.php/Regular_Expressions

    Modern Notepad++ (since v6.0) uses the Boost C++ Regex library, v1.55.0 (similar to the Perl Regular Common Expressions (PRCE), v5.8):

    search syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html replace syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

    Other sites with valuable regular expression information include:

    http://perldoc.perl.org/perlre.html http://www.regular-expressions.info http://www.rexegg.com
  • Custom keywords for "folding"

    Locked
    1
    0 Votes
    1 Posts
    755 Views
    No one has replied
  • Possible syntax color logic bug for ASP in all versions?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    mushu999M

    @Savio-Tamara-Lobo you didn’t post anything?

  • Risks with using Notepad++

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Update 7.5.6 does not allow me to instal XMLtools Plugin

    Locked
    2
    1 Votes
    2 Posts
    3k Views
    Scott SumnerS

    @Bugnerová-Pavla

    Consider these statements as Laws :

    32-bit plugins are not compatible with 64-bit executables 64-bit plugins are not compatible with 32-bit executables

    Either go with:

    32-bit executable (notepad++.exe) and 32-bit plugins
    or 64-bit executable (notepad++.exe) and 64-bit plugins

    Note: x86 is another term for 32-bit (means the same thing, in this context at least)

  • 0 Votes
    3 Posts
    2k Views
    Somil PatniS

    My problem got resolved. I just chose the use all sub folders option and it started working :)

  • Notepad++ shows numbers as letters

    Locked
    1
    0 Votes
    1 Posts
    753 Views
    No one has replied
  • Plugin convert problem

    7
    1 Votes
    7 Posts
    4k Views
    Hakan ToptasH

    I checked the converter/issues, it was a known issue and they cannot solve I guess.

    I tried different sums but sum1 seems to be the correct one.
    Best