• Login
Community
  • Login
  1. Home
  2. Help wanted · · · – – – · · ·
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • R

    Attempting to isolate all lines containing a specific word and edit one value.

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 25, 2019, 5:51 AM
    Feb 23, 2019, 5:45 AM
    0 Votes
    4 Posts
    1k Views
    R Feb 25, 2019, 5:51 AM

    Thank you both very much.

  • O

    Delete whole line based on search

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 25, 2019, 2:17 AM
    Feb 25, 2019, 1:40 AM
    0 Votes
    3 Posts
    3k Views
    O Feb 25, 2019, 2:17 AM

    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.

  • W

    Need help with Replacing lines

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 24, 2019, 5:08 PM
    Feb 24, 2019, 4:22 PM
    0 Votes
    2 Posts
    456 Views
    G Feb 24, 2019, 5:08 PM

    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

  • S

    Problem with Path names containing spaces ?

    Watching Ignoring Scheduled Pinned Locked Moved
    9 Feb 24, 2019, 1:25 PM
    Nov 4, 2018, 11:27 AM
    0 Votes
    9 Posts
    8k Views
    S Feb 24, 2019, 1:25 PM

    Thanks Meta Chuh - that solved it!!

  • F

    Cant Run a file in a browser??...

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 24, 2019, 1:01 PM
    Feb 24, 2019, 12:21 PM
    0 Votes
    2 Posts
    482 Views
    M Feb 24, 2019, 1:01 PM

    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.

  • P

    NppExec Problem

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Feb 24, 2019, 1:02 AM
    Feb 23, 2019, 10:08 PM
    1 Votes
    6 Posts
    939 Views
    P Feb 24, 2019, 1:02 AM

    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

  • P

    Search and replace with wildcards

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Feb 23, 2019, 6:26 PM
    Feb 23, 2019, 12:21 PM
    0 Votes
    6 Posts
    2k Views
    M Feb 23, 2019, 6:26 PM

    @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)

  • D

    Problem mit Notepad++ / Problem with Notepad ++

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Feb 23, 2019, 5:50 PM
    Feb 23, 2019, 7:59 AM
    1 Votes
    5 Posts
    5k Views
    M Feb 23, 2019, 5:50 PM

    @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に変更した場合は、文書をあるエンコードから別のエンコードに切り替えた後に、誤った文字が存在する可能性があるため、重要な文書すべてにドイツ語のウムラウトではなく誤った文字がないか再確認してください。

    😉

  • PPsmmP

    Invoking Notepad++ from another application using ShellExecEx - issue with 7.6.3

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Feb 23, 2019, 3:13 AM
    Feb 20, 2019, 10:32 AM
    0 Votes
    8 Posts
    2k Views
    PPsmmP Feb 23, 2019, 3:13 AM

    Thanks Meta Chuh, that’s a really clever idea - I’ll definitely give this a try

  • Ziad AboramiZ

    Q: How to sort groups of lines alphabetically according to the first word after the beginning of each group

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 23, 2019, 1:56 AM
    Feb 22, 2019, 6:47 PM
    0 Votes
    4 Posts
    1k Views
    Ziad AboramiZ Feb 23, 2019, 1:56 AM

    Thanks very much.
    It worked fine.
    I have put
    \R(?!(<article>(.+?)</article>))
    Then the same method

    Best wishes

  • Jihad Ibn HarunJ

    How can i use zen coading plugin in Notepad++ 7.6.3 ?

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Feb 22, 2019, 11:49 AM
    Feb 22, 2019, 11:49 AM
    0 Votes
    1 Posts
    340 Views
    No one has replied
  • Drew WesleyD

    How can I launch Notepad++.exe from the command line with "plugin" options?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 22, 2019, 10:01 AM
    Feb 22, 2019, 4:33 AM
    3 Votes
    2 Posts
    2k Views
    M Feb 22, 2019, 10:01 AM

    @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.

  • Nathan WelchN

    Latest Version: Browser Export

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Feb 21, 2019, 9:28 PM
    Feb 21, 2019, 3:46 PM
    0 Votes
    5 Posts
    5k Views
    PeterJonesP Feb 21, 2019, 9:28 PM

    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).

  • Tobias KriegT

    User Defined Language/ Autocomplete/ Keywords begin with "/" and "*" dosn't work.

    Watching Ignoring Scheduled Pinned Locked Moved apdl slash and star keywords udl autocomplete
    6 Feb 21, 2019, 2:27 PM
    Nov 8, 2018, 7:00 PM
    0 Votes
    6 Posts
    3k Views
    rinku singhR Feb 21, 2019, 2:27 PM

    @Adriano-Ellero
    it works without plugin but without language name change you can watch at youtube

  • RaphaelR

    Autocompletion and spaces

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Feb 21, 2019, 1:12 PM
    Oct 17, 2018, 8:56 PM
    2 Votes
    7 Posts
    2k Views
    Alan KilbornA Feb 21, 2019, 1:12 PM

    @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.

  • Adriano ElleroA

    autocomplete for complex svg tag

    Watching Ignoring Scheduled Pinned Locked Moved svg tag autocomplete sv
    6 Feb 21, 2019, 10:16 AM
    Feb 20, 2019, 12:59 PM
    0 Votes
    6 Posts
    1k Views
    Adriano ElleroA Feb 21, 2019, 10:16 AM

    Thanks a lot Peter, I tried Macro also and I found it simple and “clean enough”…

  • Ziad AboramiZ

    Q: How to delete a certain word from every line that contains another certain word

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Feb 21, 2019, 1:16 AM
    Feb 20, 2019, 11:46 PM
    0 Votes
    6 Posts
    995 Views
    Ziad AboramiZ Feb 21, 2019, 1:16 AM

    Thanks very much
    I have tried the first one and it does work

    Best wishes 😊

  • NonSecwitterN

    Enterprise Management

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 20, 2019, 9:40 PM
    Feb 20, 2019, 5:59 PM
    1 Votes
    2 Posts
    871 Views
    M Feb 20, 2019, 9:40 PM

    @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.

  • Ognjen TabajicaO

    The vertical line is gone PLS HELP

    Watching Ignoring Scheduled Pinned Locked Moved help fast
    3 Feb 20, 2019, 9:05 PM
    Feb 20, 2019, 8:32 PM
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA Feb 20, 2019, 9:05 PM

    Probably the INS key got pressed accidentally, changing the caret and making it harder to see. LOL.

  • Scott BoydS

    Plugin Admin issues 7.6.3

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Feb 20, 2019, 6:39 PM
    Feb 19, 2019, 3:01 PM
    1 Votes
    6 Posts
    3k Views
    M Feb 20, 2019, 6:39 PM

    @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.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors