• About the FAQ Desk : Where to Find REGEX documentation ?

    Locked
    1
    4 Votes
    1 Posts
    616 Views
    No one has replied
  • [META] Forum Timestamps

    Locked
    6
    1 Votes
    6 Posts
    3k Views
    PeterJonesP

    Thanks, @guy038

  • Is there a way to set a default language type?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Edwin ClementsE

    That worked! Thanks a bunch.

  • how to remove text before (regex)

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Scott SumnerS

    Try this:

    Find what zone: (?-s)^.+?\|
    Replace with zone: make sure this is EMPTY
    Search mode: Regular expression

  • File changed check loses focus from last file

    Locked
    2
    1 Votes
    2 Posts
    735 Views
    Scott SumnerS

    @David-Luca

    Bug reports and feature requests are filed on github, see a bit more detail on the process here. I’m sure this one already exists for this so logging a new one is pointless and just adds to the massive clutter. Try some searching and then you can add any new input you have about the problem as a comment to an existing issue. You be the judge about the likelihood of this being “fixed” anytime soon when you see the number of open issues.

  • Find matching word between two text file

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    Frederick SmithF

    Hi @terry-r, @guy038 and All

    First I want to thank you both: @terry-r and @guy038 - for taking your time and giving me help.

    Both solution works - maybe a bit different - but both gives the good results what I was looking for.

    Let me say, how much I appreciate the community. Thanks you!

    Thanks again guys!

  • last modified date in status bar?

    40
    1 Votes
    40 Posts
    18k Views
    dailD

    @SalviaSage

    Testing is always appreciated in case there are any bugs that show up.

    The plugin itself is mostly stable as far as the set of features it has, so theres no immediate plans to add new functionality but that doesn’t others may have ideas I’ve never thought of.

  • Remove down arrow from Windows installer icon

    Locked
    1
    0 Votes
    1 Posts
    576 Views
    No one has replied
  • convert multiple columns to rows using notepad

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    Terry RT

    This is very simple. I’m surprised you have not already figured it out. Basically (from your sample) you want to change all spaces to a carriage return/line feed. So each word will be on a separate line.

    The regex is:
    Find What: \h
    Replace with: \r\n
    As this is a regular expression you need the search mode in “regular expression” mode and have wrap around ticked.

    So the \h is a horizontal whitespace character: tab or Unicode space separator.
    The \r and \n are the carriage return and line feed characters.

    As a suggestion, read up on regexes by starting with:
    https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation in our FAQ and also by using a regex tester (there are a few on the web) including the one mentioned in that post.

    It’s nice to see posters trying to find the solution themselves (especially one as simple as this one), then if in doubt or needing guidance, to come to the forum and show what they’ve tried and their samples.

    Terry

  • i am fighting with the conversion of columns to rows

    Locked
    3
    0 Votes
    3 Posts
    942 Views
    Seenu GudduS

    Thanks Perter Jones… and also thanks for quick response… it works perfectly…

  • Copy unmarked lines notepad++

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    ani rodetA

    thanks you very much

  • A separate place for all Regex related posts.

    Locked
    1
    0 Votes
    1 Posts
    497 Views
    No one has replied
  • Remove lines that meet a requirement using notepad ++

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    ani rodetA

    great friend, thank you very much for your help, I’m learning every day,
    If you work, thank you, I do not know how to thank you

  • Folding based on indent like YAML define your own language

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • regular expression - search until 1st occurence of

    Locked
    4
    1 Votes
    4 Posts
    4k Views
    Diego Di FilippoD

    thank you guys!!!
    D.

  • How to recover previous version of saved Notepad++ file?

    Locked
    2
    0 Votes
    2 Posts
    10k Views
    PeterJonesP

    Unfortunately for you, Notepad++ does not double as backup software with version control (by default).

    There is a microscopic chance that following the “Possible File Recovery” section of this FAQ would help you… IF you had Settings > Preferences > Backup > Backup on save = ☑ Verbose backup, then every time you hit Save in NPP, it would create a backup copy of the file with a different timestame (see NPP Wiki: Document Management, search for “verbose”) – but that’s not enabled by default. (If you had ☑ Simple backup, only the most recent version is saved.)

    Windows has an option: if you right click on a file, there’s a “Restore Previous Versions” option – if you happen to have configured Windows in the right way (I don’t know what that way is), then maybe that would help.

    The best advice (mentioned in that FAQ I linked earlier) is to proactively control your own destiny, especially with important files. If you only ever need the most recent version of a file, then most automated backup software will cover you. Some automated backup programs will even keep multiple versions of the same file, so you can go back in time to a certain extent. Some cloud file services might keep a few versions going back, as well, so if you’re editing files in your cloud folders, there might be some historical versions – see your cloud provider’s documentation. But if going back through the change history of a file is very important to you, then the best bet is version control software (like Subversion or Git) and remembering to “commit early, commit often”.

    Unfortunately, most of this advice requires that you already knew how to set up all those various options, and had decided to do so. If the hints above don’t help you recover this file, hopefully they will at least encourage you to set up a backup and file-history system that will meet your needs.

  • can someone talk me thru compiling on vs17

    Locked
    2
    0 Votes
    2 Posts
    884 Views
    Scott SumnerS

    @james-pruett

    As a first step, perhaps turn OFF the option to treat warnings as errors…and see if that gets you further along? :-)

  • Document Map is useful at huge files

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Vincitydaimo-Vincity

    See here for how to officially make a feature request.

  • 1 Votes
    6 Posts
    1k Views
    PeterJonesP

    @SuperCPU,

    I understand the solution you and Scott were thinking of would be best. I was just trying to give you a workaround, because even if you do submit a feature request, it may be quite some time (if ever) before that request is implemented.

    The workaround does work for “Numpad 0” or “INS” or “DEL” or others: you just type the first character of the text of the menu item: for “Numpad 0”, you would hit “N” twice; for “INS”, you would hit “I” once (because the INS entry comes before the I entry); similarly type “D” for “DEL”. That’s the way it works in Notepad++, and quite a few other Windows applications with dropdown menus: if you type the first character of the option, it will go to the next option that starts with that character.

  • 0 Votes
    1 Posts
    574 Views
    No one has replied