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

      Macro woes

      Watching Ignoring Scheduled Pinned Locked Moved macro
      3
      0 Votes
      3 Posts
      225 Views
      Tim KoelemanT

      @PeterJones thanks a lot! That explains it.

    • Sukanya__NS

      Regex to find mixed text, numbers and special characters

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      789 Views
      Hans v.BuitenenH

      @Sukanya__N said in Regex to find mixed text, numbers and special characters:

      <ext-link ext-link-type=“uri” xlink:href=“https://doi.org/10.4414/smw.2020.20225”>https://doi.org/10.4414/smw.2020.20225</ext-link>

      you could try <ext-link ext-link-type.*/ext-link>
      but see that the outer brackets are not included in the find

    • Rob PuleoR

      Help with mass edit

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      1k Views
      Rob PuleoR

      @Rob-Puleo I know it’s a notepad++ forum and you provided the steps to export to CSV to use Notepad++. That is what I was looking for and thank you for your help!

    • Stanisław MędrzeckiS

      RegEx - need to replace delimetered string with some its parts

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      263 Views
      EkopalypseE

      @Stanisław-Mędrzecki said in RegEx - need to replace delimetered string with some its parts:

      How do you know when to replace with B - C or sometimes C - D or D - E ?

    • David SwarthoutD

      Language style for AutoHotKey scripts

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      2k Views
      astrosofistaA

      Hi @David-Swarthout, All:

      Let me suggest you to take a look at AHK’s Editors forum, where you can find some resources as UDLs, Syntax Highlight, a tool to run a script or a selection directly from Notepad++ —can’t live without it—, another one to expand parameters for AHK’s functions, commands and directives, and more.

      Have fun!

    • D Ream MenaD

      Custom select combos from a txt file before a suffix

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      366 Views
      D Ream MenaD

      @PeterJones said in Custom select combos from a txt file before a suffix:

      (?-s)^.+(?=\R<------------>\R\Q*********\E\R<------------>)

      you re a genius broo thank youuu its worked

    • ?

      Why is it that some regex match is not replaced one by one?

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

      @[username redacted] said in Why is it that some regex match is not replaced one by one?:

      I wonder if I could open the document and remember the last scroll position so next time I reopen it, it straight nagivgates to where it was.

      You may find THIS to be of interest on that topic. There’s a Pythonscript there that supposedly solves this “problem”. I haven’t tried the script out yet, so I can’t fully endorse it. It’s on my evergrowing “TODO” list. :-)

    • Pierre Huybens 0P

      could not open the project file

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      274 Views
      Pierre Huybens 0P

      solution , I delete the config.xml file and when restarting NPP a new one is created and now I can have view again the project window

    • Sean BlissS

      "Remember Last Used Directory" for Save NEVER WORKS BEYOND THE CURRENT DOCUMENT

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      524 Views
      Sean BlissS

      @Alan-Kilborn THANK YOU. “Follow current document” is working much better. I can now have many document open and they will always suggest the same save directory that I’ve been using.

      I guess I was just confused by 3 save directory options. Some how the other two options seemed more like the behavior above; and to me the words “follow the current document” seems to indicate that each document would be separated to it’s own manually-selected save folder.

      Some how the words of those settings have me seeing them as the opposite of what they really do.

      Why the manually set single directory option (option 3) doesn’t work? I don’t know - but problem solved as far as I’m concerned.

    • RiderickR

      How to remove X numbers of lines and put them one line above?

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      1k Views
      TroshinDVT

      A small script for the jN plugin that will do this.
      It will also add a menu “scripts jN” -> “convertText”
      https://github.com/sieukrem/jn-npp-plugin

      var scriptsMenu_jN = Editor.addMenu("scripts jN"); function convertText() { //debugger; var vStep = 0; var vText = '', vTextLine = ''; var vLines = Editor.currentView.lines; for(var i = 0; i< vLines.count; i++, vStep++) { vTextLine = vLines.get(i).text; if (vTextLine.charCodeAt(vTextLine.length-1) == 10) vTextLine = vTextLine.substring(0, vTextLine.length-1); // kill \n if(vStep < 4) { vText = vText + vTextLine; } else { vText = vText + "\n" + vTextLine; vStep = 0; } } Editor.currentView.text = vText; } scriptsMenu_jN.addItem({ text:"convertText", cmd:convertText });
    • AjayKMehtaA

      Question about styles for themes

      Watching Ignoring Scheduled Pinned Locked Moved
      7
      1 Votes
      7 Posts
      1k Views
      AjayKMehtaA

      @Michael-Vincent

      Yes, I’ve done this in the past too but when you update NotePad++, then the install won’t overwrite existing themes and you might have to merge changes to your theme if the release also updated the theme.

    • Furatus777F

      Opening session - double click on associated file - opens 2 NPP windows

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      362 Views
      caryptC

      there should be an option in windows about mouseclicks , defining if single or double click shall open a file , maybe that caused the problem

    • o-Samusa-oO

      Delete certain amount of characters of e-mail address

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      1k Views
      Terry RT

      @Terry-R said in Delete certain amount of characters of e-mail address:

      Bear in mind some of the characters are metacharacters and will need escaping by using the \ before the character.

      For more info on which characters need escaping within a character class (denoted by the [ and ]) read:
      https://www.regular-expressions.info/charclass.html
      specifically the paragraph titled
      “Metacharacters Inside Character Classes”

      Terry

    • mallikarjuna navuluriM

      replace values with incrementing by1

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      609 Views
      Terry RT

      @mallikarjuna-navuluri said in replace values with incrementing by1:

      example i want to replace first line with 5000001, secondline with 5000001
      third line with 5000003…10k line will be 5010000.

      There is a menu option in Notepad++ to insert into a set position on each line a number. This number (or text) can be static or if a number can be incremented by another number, in your case 1.

      So look at the Edit Menu, then Column Editor. Use the “Number to Insert” option and start with the first number you want and have the increment as 1. Since the start and end numbers in your post are the same length you don’t need to include leading zeros.

      If you have the cursor in the very first position of your file and start this column editor function every line in the file will have a number at the start of the line. You may want to use the “insert text” first so you have a space between the numbers but not necessary as the number you are inserting is one set length.

      Then you’d cut that number and insert it further along in the line.

      Again, I’ll repeat my request. You need to supply more examples and use the black box surrounding the examples to prevent any characters being altered by the posting engine. So perhaps 3-4 lines gathered together and perhaps another 3-4 further along in the file showing a latter part of it so we get a good idea of what the original data looks like.

      Terry

    • TroshinDVT

      How to remove the "Macros" and "Tools" menu?

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      551 Views
      TroshinDVT

      @andrecool-68 said in How to remove the "Macros" and "Tools" menu?:

      @Дмитрий-Трошин Никто не будет делать такие редактирования!

      в место макросов я уже пару лет пользуюсь javascript для обработки текста.

    • Teamelite TeameliteT

      how to make couple words of the same line sentence to new line

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      183 Views
      Olivier ThomasO

      or
      find: http:
      replace: \n$0

    • DravokD

      Displaying Comma Separated Structures in FunctionList

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      322 Views
      MAPJe71M

      @PeterJones Well done!

      Nitpicking: you could remove the x in (?x-s).

    • Gabriel CunninghamG

      DHCP Server Dump (Export) - Sorting IP using RegEx

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      2 Votes
      1 Posts
      672 Views
      No one has replied
    • Alexander  RudenkoA

      How to install emmet plugin

      Watching Ignoring Scheduled Pinned Locked Moved
      47
      0 Votes
      47 Posts
      28k Views
      PeterJonesP

      @Fatih-Ceylan ,

      Could you show us the ? menu’s Debug Info after you followed the instructions you quoted?

    • NZ SelectN

      How to remove unwanted space in html tags?

      Watching Ignoring Scheduled Pinned Locked Moved
      12
      0 Votes
      12 Posts
      5k Views
      Olivier ThomasO

      Search: (?<!>) (?=[/>\w])
      Replace:

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