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

      Inserting lines for double-spacing throughout?

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      1k Views
      PeterJonesP

      @caramadra

      FIND = \R
      REPLACE = $0$0
      SEARCH MODE = regular expression
      REPLACE ALL

      This can be recorded as a macro and assigned to a keyboard shortcut for easy use.

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
    • John CranmerJ

      Extract specific lines from a VERY large text file

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      905 Views
      John CranmerJ

      Sorry to have asked I have just found it is very easy to do with the search all function and then cut and paste the results

    • E

      help make sure files are not temporarily saved anywhere

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      632 Views
      E

      @Terry-R thanks terry and others for the info much appreciate. long life and good health to you all.

    • Andrey FedorchukA

      Double quotes

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      471 Views
      PeterJonesP

      @Andrey-Fedorchuk ,

      UDL wasn’t really intended for “phrases”; it was meant as a simple keyword/operator highlighter. In certain fields (the folding fields and the delimiter fields), you can put double-quotes around phrases so that the space will be part of the folding-trigger or delimiter… but I don’t know of a way that allows embedding quotes inside a multi-word phrase. Sorry.

      You might want to look into the AnalysePlugin – it’s reason for existing is to make navigating/searching/highlighting large logfiles easier.

      Alternately, the EnhanceAnyLexer will allow you to change the foreground color of strings matching regexes, so if you have an OpenWRT UDL, then making a [OpenWRT] section in the EnhanceAnyLexer config will allow you to define regex-based rules, which could use a regex like ^Successful ping of the target.*$ for matching any line starting with those… or if you want only the exact, then do the exact line.

    • Marc SurprenantM

      Find and Replace Window

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      501 Views
      Alan KilbornA

      @Marc-Surprenant said in Find and Replace Window:

      It helps but i would still like it bigger

      There is a feature request already in place for this. You can see it HERE and if you want to add your thoughts there, developers will see that multiple people want this.

    • LivieishereL

      CSS "in block" on Notepad

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      455 Views
      Alan KilbornA

      @Livieishere

      I presume you didn’t create this file, but rather were given it or obtained it from somewhere.

      I don’t know much about css, but I’d presume that it isn’t required to have line-ending characters.

    • Christophe MERCEYC

      Macro automatic execution at NP++ opening/startup

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      329 Views
      EkopalypseE

      @Christophe-MERCEY

      two alternatives are
      a) using NppExec and its option to Execute this script when Notepad++ starts
      or
      b) a scripting language plugin like PythonScript

    • VenomNihilV

      Replace variable chain of text then adding pattern before and after

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      874 Views
      Alan KilbornA

      @VenomNihil said in Replace variable chain of text then adding pattern before and after:

      the ^ doesn’t work with the spacing but I supposed is because I posted a screenshot. But just using " item " instead does the job.

      Yes, it is tough to work from a screenshot; that’s why we have suggestions to not post them for this type of problem, or to post both a screenshot and the literal text. Apparently we failed to noticed this part of your original posting:

      cc43d5be-7554-4e41-b60e-93ed8aed5213-image.png

    • PeterJonesP

      Function Completion: cycle through choices

      Watching Ignoring Scheduled Pinned Locked Moved autocomplete function hint
      16
      2 Votes
      16 Posts
      2k Views
      EkopalypseE

      @Michael-Vincent - cool, a nice one, thx.

    • Harrison CostasH

      Silent uninstall of .exe or .msi file needed

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      15k Views
      PeterJonesP

      @Harrison-Costas ,

      I said,

      quite a few hours before I could check my home machine

      I just checked. According to the registry Key section I mentioned, the UninstallString is "C:\Program Files\Notepad++\uninstall.exe" and QuietUninstallString is "C:\Program Files\Notepad++\uninstall.exe" /S

    • Brian BolligB

      What are these extra panes???

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      605 Views
      Alan KilbornA

      See FAQ entry HERE.

    • Swati RohatgiS

      Customized settings Migration

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      347 Views
      Terry RT

      @Swati-Rohatgi
      There is no formal method guaranteed to work everytime.

      However you may want to search the forum for helpful hints that users have identified to make the process as painless as possible. Try this post as a starting point.

      Terry

    • SENPAY98KS

      Delete the line number 15 in multiple files

      Watching Ignoring Scheduled Pinned Locked Moved
      14
      0 Votes
      14 Posts
      6k Views
      PeterJonesP

      @ADEYINKA-ADEWOYIN ,

      You do realize that @Alan-Kilborn already answered that question for you: the regex he showed worked for him. If it doesn’t work for you, you will have to provide more details , because that regex will work to delete the first line of the files. He even asked you to provide more details to explain how the given regex doesn’t work for you.

      You really need to read this FAQ and see the referenes below.

      That said, can be simplified: a large part of the original expression was only needed because the original post wanted to delete line#15, not line#1. To delete the first line is simpler: FIND = (?-s)\A(^.*$\R?), REPLACE is empty, and SEARCH MODE must be REGULAR EXPRESSION.

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
    • Selin09010938S

      Insert new line only if the line has less than X characters

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      344 Views
      Selin09010938S

      @Alan-Kilborn

      Thank you so much. It worked. I was able to beautify the txt like I wanted after applying your solution with extended expressions.

    • Asger Jørgensen 0A

      How to exclude some folders from find in files

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      5k Views
      SinghRajenMS

      I was also looking for this. Thanks @PeterJones !

    • Leahnn ReyL

      Why is UDL coloring keywords that are in words?

      Watching Ignoring Scheduled Pinned Locked Moved udl
      2
      0 Votes
      2 Posts
      299 Views
      PeterJonesP

      @Leahnn-Rey ,

      Use “Folding in code 2 style (separators needed)” [FiC2] instead of “Folding in code 1 style” [FiC1].

      The FiC2 requires spaces or newlines before and after the open, middle, and close keywords, whereas the FiC1 does not.

      Generally, FiC1 should be used for things like { and } as block-markers to fold on, whereas FiC2 is useful for words.

    • Klaus KonzeptK

      search in C-files and give me the name of the C-function

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      1k Views
      Klaus KonzeptK

      Hi Vitalii,

      cool things are out there, thanks you for your hints.
      I even didn’t know ctags.

      Klaus

    • Manpreet SinghM

      java function list is not working in new versoin

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      369 Views
      PeterJonesP

      @Manpreet-Singh ,

      Discussion will continue in another version of your topic

    • Akil Turner-RichardsA

      FunctionList with UDL

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      828 Views
      Akil Turner-RichardsA

      @PeterJones Thanks so much! This is exactly what I wanted. Appreciate the swift response.

    • kendall loftinK

      Exclude word from search filter

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      3k Views
      PeterJonesP

      @kendall-loftin ,

      You can use negative lookbehinds to guarantee that “the text before house is not future and is not tech and is not bass”:

      FIND = (?:(?<!future )(?<!tech )(?<!bass ))house Search Mode = Regular expression

      You can combine that with your whole line matcher, which used to be something like (?-s)^.*house.*$ to become:

      FIND = (?-s)^.*(?:(?<!future )(?<!tech )(?<!bass ))house.*$

      … that will then match the whole line, not just the individual “house” on that line

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors