• 0 Votes
    4 Posts
    1k Views
    Richard Brock Jr.R
    Thank you both very much.
  • Delete whole line based on search

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Omar KO
    Thanks Terry. That’s exactly what I was looking for. Just couldn’t see the Remove Bookmarked Lines option where I looked. Appreciate the quick response.
  • Need help with Replacing lines

    Locked
    2
    0 Votes
    2 Posts
    594 Views
    guy038G
    Hello @ilya-levadny and All, Actually, you want to delete all characters located after the second colon character, included, of any line Indeed, not difficult with regular expressions ! Open the Replace dialog ( Ctrl + H ) SEARCH (?-s)^(.+?:.+?):.+ REPLACE \1 Select the Regular expression search mode Check, preferably, the Wrap around option Click, once on the Replace All button or several times on the Replace button An other formulation would be : SEACRH (?-s)^.+?:.+?\K:.+ REPLACE Leave EMPTY This time, due to the \K syntax you must use the Replace All button, exclusively Notes : The (?-s) in-line modifier means that dot ( . ) matches any single standard character, only The .+?: part looks for the shortest non-null range of characters till a colon ( : ) The part between parentheses ( .+?:.+? ) is stored as group 1, which must be rewritten, during the replacement phase At the end, the .+ syntax represents the rest of the line, after the second colon char, included, of the current line In the second version, after matching the implicit group 1, the \K syntax resets the regex engine, so the final overall match is the part :.+ which corresponds to the second colon char with all the subsequent chars of current line, which are deleted as the replacement zone is empty Best Regards, guy038
  • Problem with Path names containing spaces ?

    9
    0 Votes
    9 Posts
    9k Views
    Stewart ClarkS
    Thanks Meta Chuh - that solved it!!
  • Cant Run a file in a browser??...

    Locked
    2
    0 Votes
    2 Posts
    638 Views
    Meta ChuhM
    welcome to the notepad++ community, @ForceTraps we would need more information to be eventually of help regarding your request. specify if by “run” you mean to open a file in notepad++ or to execute it with an external program ? if it is an external program you want to pass your document to, please name this external program. what file did you try to run ? (file location and name including it’s extension, aka “full path”) please clarify “Is it because i need a specific version”. what version of what program are you referring to ? please go to the notepad++ menu ? > debug info... > copy debug info into clipboard and paste the content here, as we will need this information, if some config files will have to be edited for your specific installation.
  • NppExec Problem

    Locked
    6
    1 Votes
    6 Posts
    1k Views
    PaoloRicardoP
    OK, I’ve found the problem. Instead of: c:\gnucobol\bin\cobc -x -std=mf $(FULL_CURRENT_PATH) I should have c:\gnucobol3\bin\cobc -x -std=mf $(FULL_CURRENT_PATH) ^ Also, since I’ve already defined the PATH variable I can just use: cobc -x -std=mf $(FULL_CURRENT_PATH) or cobc -x -std=mf $(FILE_NAME) Thanks for the suggestions, guys. Paul
  • Search and replace with wildcards

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    Meta ChuhM
    @Pingponguin I followed the noob path but really did not understand how this should help me with my question. yes, i can relate completely. whilst we (as the notepad++ community) do have a vast library of regex examples and guides, it can be difficult to get a first firm grip at regex, without having a few real life examples, one can personally relate to. also there are some vast differences on how different users reach the same results with almost completely different syntaxes (let’s call them “personal regex dialects”). for example @Alan-Kilborn 's regex syntax for your request is perfect to begin with, because it is as easy as possible to read and understand. but if you stick around, you will also see regexes that often do the same and are very difficult to digest. (i usually still stick to syntaxes i can completely understand and/or are easier to break down to smaller parts)
  • Problem mit Notepad++ / Problem with Notepad ++

    Locked
    5
    1 Votes
    5 Posts
    6k Views
    Meta ChuhM
    @PeterJones it seems as if we all get more and more multilingual lately … … if it continues like that, @Alan-Kilborn is going to answer every request in swedish only, and @guy038 will do all explanations in a specific japanese dialect, only spoken in a single village, north of gokayama 😂😂😂 @Dennis-Schlüter yes, @PeterJones is absolutely correct. as long as you stick to one single encoding (like ansi) and no other software requires anything else (like utf-8), you will be on the safe side. and it is better to rely on yourself, choosing the file format encoding, than any auto-detection. note: once you manually changed to ansi, please re-check all vital documents for incorrect characters instead of german umlauts, as wrong characters are likely to exist, once the document has been switched back and forth from one encoding to another. @PeterJones 最近私たち全員がますます多言語を話すようになります… …それでもこのように続けば、アランはすべての要求にスウェーデン語で答えることになります、そして男は特定の日本語の方言ですべての説明をするでしょう、gokayamaの北の単一の村で話されるだけです😂😂😂 @Dennis-Schlüter はい、@PeterJones は正しいです。 (ansiのように)1つのエンコーディングに固執し、他のソフトウェアが(utf-8のように)他に必要としない限り、あなたは安全な側にいるでしょう。 自動検出よりも、ファイル形式のエンコーディングを選択して自分に頼ることをお勧めします。 注:手動でansiに変更した場合は、文書をあるエンコードから別のエンコードに切り替えた後に、誤った文字が存在する可能性があるため、重要な文書すべてにドイツ語のウムラウトではなく誤った文字がないか再確認してください。 😉
  • 0 Votes
    8 Posts
    2k Views
    PPsmmP
    Thanks Meta Chuh, that’s a really clever idea - I’ll definitely give this a try
  • 0 Votes
    4 Posts
    2k Views
    Ziad AboramiZ
    Thanks very much. It worked fine. I have put \R(?!(<article>(.+?)</article>)) Then the same method Best wishes
  • How can i use zen coading plugin in Notepad++ 7.6.3 ?

    1
    0 Votes
    1 Posts
    446 Views
    No one has replied
  • 3 Votes
    2 Posts
    2k Views
    Meta ChuhM
    @Drew-Wesley this is a nice question and a good idea, but unfortunately not built into notepad++. currently it is not possible to start nppftp and connect to a server using command line switches, but it could be done using scripting plugins like pythonscript or luascript as a workaround and playground. first you would have to record a macro, as connecting to a specific ftp server can not be triggered by using the menu bar items. then, using pythonscript in this example, you can put something like Notepad.runMenuCommand('Macro', 'Connect to your FTP') in your startup.py startup script. of course there would be more things to do, like connecting to the corresponding ftp if a file is opened via command line from a specific list of locations, but it’s just an idea, in case you want to dig deeper into scripting.
  • Latest Version: Browser Export

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    PeterJonesP
    Did you edit the right shortcuts.xml? Did you remember to do the exit, notepad++, edit, save, exit, notepad++ sequence that I gave? Please give us your ? > Debug Info > Copy debug info into clipboard, and tell us the full path name to the shortcuts.xml that you edited (if it’s still open, RClick on the tab name, select Full File Path to Clipboard).
  • 0 Votes
    6 Posts
    3k Views
    rinku singhR
    @Adriano-Ellero it works without plugin but without language name change you can watch at youtube
  • Autocompletion and spaces

    7
    2 Votes
    7 Posts
    2k Views
    Alan KilbornA
    @Adriano-Ellero said: To solve this in the end i have to cancel by hand the invisible   and replace it with a “Normal” empty space. Seems like you could make that part as painless as possible by recording a macro of the replacement and tying that macro’s execution to a convenient keycombination.
  • autocomplete for complex svg tag

    Locked svg tag autocomplete sv
    6
    0 Votes
    6 Posts
    2k Views
    Adriano ElleroA
    Thanks a lot Peter, I tried Macro also and I found it simple and “clean enough”…
  • 0 Votes
    6 Posts
    1k Views
    Ziad AboramiZ
    Thanks very much I have tried the first one and it does work Best wishes 😊
  • Enterprise Management

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Meta ChuhM
    @NonSecwitter said: I was just wondering if any thought had been given to using the Windows registry to maintain configuration settings … Is this something that could be implemented? hopefully not.
  • The vertical line is gone PLS HELP

    Locked help fast
    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA
    Probably the INS key got pressed accidentally, changing the caret and making it harder to see. LOL.
  • Plugin Admin issues 7.6.3

    Locked
    6
    1 Votes
    6 Posts
    3k Views
    Meta ChuhM
    @Scott-Boyd Then it would let me modify that setting and keep it regardless of whether I ran it as admin or under my ID. Once I figured this issue was happening and corrected it, I was able to update and install plugins through the Plugin Admin option. this is perfect and nice to hear. thanks for reporting back.