Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. General Discussion
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • PeterJones

      Please Read This Before Posting
      faq posting newbie • • PeterJones

      1
      2
      Votes
      1
      Posts
      970
      Views

      No one has replied

    • faouzi sat

      Move word with notpad++
      • faouzi sat

      5
      0
      Votes
      5
      Posts
      64
      Views

      faouzi sat

      @PeterJones said in Move word with notpad++:

      @faouzi-sat ,

      Here’s your freebie, since this was your first post. And I appreciate that you showed before-and-after data, even if you neglected the </> button to mark your text as plaintext. But as Terry was encouraging you, you will get better help (and learn more) if you put in more effort when asking for help.

      So, in Regular Expression search mode,

      : matches a literal colon \d+ matches one or more digits \. matches a literal dot/period/fullstop character putting () parentheses around an expression will save it in the next capture group number

      And in the replacement, $1 references the first capture group number.

      Putting that all together: put a colon and one or more digits in group#1 and the sequence of digits-dot-digits-dot-digits-dot-digits in group#2, and replace with group2-then-group1

      FIND = (:\d+) (\d+\.\d+\.\d+\.\d+) REPLACE = $2$1

      ----

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

      Working !

      thanks

    • David Cummings

      Replace space with commas but for first 28 characters per line
      formatting text • • David Cummings

      4
      0
      Votes
      4
      Posts
      44
      Views

      guy038

      Hello, @david-cummings, @alan-kilborn and All,

      Not difficult with regexes !

      So, let’s start with this INPUT text :

      406D69 NPT04S G-JMCH B734 West Atlantic UK -------- 25025 24450 1250 1250 30/01/2023 23:54:46 30/01/2023 23:59:31

      Open the Replace dialog ( Ctrl + H )

      SEARCH (?x-s) ^ (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) | \x20+ -------- .+

      REPLACE (?1\1,\2,\3,\4,\5)

      Untick all box options

      Tick the Wrap around option

      Select the Regular expression serach mode

      Click on the Replace All button

      => You should get your expected OUTPUT text :

      406D69,NPT04S,G-JMCH,B734,West Atlantic UK

      If OK, I’ll explain you how it works, next time !

      Note that I use the Free Spacing mode (?x), in the search regex, in order to separate the main parts for a better comprehension

      Best Regards,

      guy038

    • SouthPole Cat

      Rendered markdown
      • SouthPole Cat

      2
      0
      Votes
      2
      Posts
      38
      Views

      PeterJones

      @SouthPole-Cat ,

      yes.

      In Notepad++ natively, no. But using the plugin MarkdownViewer++, a converter-and-renderer is embedded into your Notepad++ environment for you.

    • Alan Kilborn

      More Notepad++ resources
      • Alan Kilborn

      1
      2
      Votes
      1
      Posts
      51
      Views

      No one has replied

    • baiyuxiong

      will notepad++ support macOS?
      • baiyuxiong

      5
      1
      Votes
      5
      Posts
      4916
      Views

      ArtOfficialIntelligence

      Hello from the future of 2023!

      Some ingenious and clever programmer created a cross platform clone of Notepad++ and is available on all major OSes including macOS.

      *Though the application overall is stable and usable, it should not be considered safe for critically important work.

      https://github.com/dail8859/NotepadNext

      Enjoy!

    • Hellena Crainicu

      Is there a way to convert multiple text files to docx with notepad++ ?
      • Hellena Crainicu

      6
      0
      Votes
      6
      Posts
      88
      Views

      Alan Kilborn

      @Paul-Wormer said in Is there a way to convert multiple text files to docx with notepad++ ?:

      The other way is: zip xml’s.

      Well, the other way might be to figure out what xmls to create, before zipping…
      The presumption here is that user just has free-form .txt files, right?

    • bigplayer-ai

      notepad++ store version for windows 11?
      • bigplayer-ai

      5
      0
      Votes
      5
      Posts
      63
      Views

      Snabel42

      @Alan-Kilborn said in notepad++ store version for windows 11?:

      @Snabel42

      I think N++ is doing “just fine” without being part of the M$ Windows Store…

      Sure, I can buy that.

      I’ve believe seen discussions in this forums coming from questions about maintaing an additional MSI installer. I believe those questions are primarily coming from various enterprise admins that are trying to avoid self-packaging and endless maintenance, while still being able to deploy Notepad++ to a large crowd of users.

      My sense was that part of Dons reluctance for MSI was the heaps of additional work it would take to perpetually maintain it. With that in mind, I figured it was at least worth sharing that quite recently there’s appeared a potential new path here where, if the choice was made, the enterprise crowd could get a treat without adding as much burden on the Developer(s) of Notepad++

    • jbrosecity

      Foreground options for Selected text?
      • jbrosecity

      26
      0
      Votes
      26
      Posts
      42309
      Views

      Laurie Stearn

      @Alan-Kilborn Good one, thanks.

    • Steve Thorpe

      Can't make Notepad++ a default application
      posting • • Steve Thorpe

      3
      0
      Votes
      3
      Posts
      47
      Views

      guy038

      Hi, @peterjones, @steve-thorpe and All,

      In your post to Steve, I suppose that you wanted to advice :

      I suggest searching through your registry for notepad++.exe …

      BR

      guy038

    • Burford Furman

      Open Containing Folder in Cmd Missing in Tab Right-Click Dropdown Menu in 8.4.6?
      • Burford Furman

      14
      0
      Votes
      14
      Posts
      384
      Views

      VL4DST3R

      @Alan-Kilborn
      Oh i did not catch that, glad there is actually a way to do it at all, even if a bit cumbersome. And yeah, an actual proper checkbox option within preferences would have been ideal, but i’ll take what i can get.

    • garrett carey

      Question(s)
      • garrett carey

      7
      0
      Votes
      7
      Posts
      167
      Views

      PeterJones

      @garrett-carey ,

      Also does notepad++ have a feature to act like the ios notes app with bulletins and 1)'s?

      No, it does not have an auto-numbering/auto-bulleting feature.

      There may be a plugin that provides it (though I don’t know of one that does). Or you could implement it as your own plugin, or through one of the scripting plugins.

    • Paul Beunk

      Save when Exit program
      • Paul Beunk

      2
      0
      Votes
      2
      Posts
      46
      Views

      Ekopalypse

      @Paul-Beunk

      At Notepad+ it doesn’t save it on exit

      Of course it is saved, it is in the configured backup directory.
      If you don’t like it, reconfigure your settings by unchecking "Enable session and snapshot … "

      f2635b30-ecfc-434a-92cf-de8efc15d173-image.png

    • Robert Rodriguez

      Why Does app take so long to start?
      • Robert Rodriguez

      2
      0
      Votes
      2
      Posts
      60
      Views

      Terry R

      @Robert-Rodriguez said in Why Does app take so long to start?:

      it takes 5-10 seconds for Notepad++ to launch

      Is it loading some files? Are some possibly large or possibly of a sort that will be colourised by lexers. Are some of the files on a network/remote drive. All these things can have a part to play in how long Notepad++ takes to prepare the window for you to interact with.

      Terry

    • Kriston Renshaw

      This topic is deleted!
      • Kriston Renshaw

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • Aisha Chacko

      PDF editors online typically provide features such as:
      • Aisha Chacko

      2
      -5
      Votes
      2
      Posts
      54
      Views

      No one has replied

    • Alan Kilborn

      Show only lines that contain a search term
      • Alan Kilborn

      35
      5
      Votes
      35
      Posts
      510
      Views

      Alan Kilborn

      Due to the problem seen earlier, I decided to take another approach, so that Notepad++ would cooperate better with the lines I was hiding in order to achieve the goals of the script.

      Unfortunately, I’ve encountered too many bugs with the hidden lines feature, that it isn’t worth continuing. I think that, at least for now, I’m giving up on this idea…

    • NameNotShort

      Same name for the tabs
      • NameNotShort

      18
      0
      Votes
      18
      Posts
      239
      Views

      NameNotShort

      @Alan-Kilborn said in Same name for the tabs:

      @NameNotShort said in Same name for the tabs:

      Who is doing dumb things here?

      I’d say it is the person with -1 reputation point versus the one with +9463…

      Seriously, though, my (harsh) post was really designed to cause you to have a moment of reflection, to the tune of “IS what I’m wanting to do really dumb?”. There’s only one answer to that, IMO.

      Cheers.

      I just had some tea.
      This sentence has as much value as your +9463 reputation points. It doesn’t change anything and doesn’t make you superman.

      You’d better think about the nonsense you’re writing.
      No one asked your opinion about what is stupid and what is not. Anything can look stupid if you think stupid.

    • Brian Riback

      Spaces between text...
      • Brian Riback

      2
      0
      Votes
      2
      Posts
      65
      Views

      PeterJones

      @Brian-Riback ,

      Use regular expression mode. Use FIND = \s+ and REPLACE = \x20 (or a single space; both are equivalent).

      (BTW: don’t expect people to actually click on a link to a random file in a google drive or other location, since there is no guarantee what’s actually at the other end of such a link.)

      ----

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

      ShellExecute failed
      • Alter Graubart

      6
      0
      Votes
      6
      Posts
      98
      Views

      Alan Kilborn

      Does this file exist on your system?:

      Of course

      There are a number of posters here for whom this is not a foregone conclusion! :-)

    Copyright © 2014 NodeBB Forums | Contributors