Where are unsaved files in notepad++ stored?

I had installed notepad++ using Softwares in my Ubuntu 18.04, which installed notepad++ using snap. Now, for some reason, my notepad++ is not opening. But I want to get all the unsaved text files I had opened in my previous session. Where can I find these unsaved files? Most of the questions on web deal … Read more

Completely remove Notepad++

How to completely remove Notepad++ in Ubuntu 18.04 terminal? I can’t find it in Synaptic package manager, and don’t know where is on system, but I can see an icon in Activity. It is probably not completely installed, because I can’t open it. Answer  Notepad++ (notepad-plus-plus) is a snap package in the default repositories of … Read more

Notepad++ new file names

Is there a way to have Notepad++ generate new file names with the current date? Like this: YYYY_MM_DD_new1.txt or similar. Currently it just names them: new1, new2, etc. Date in the file name will work great with autosave, there will be no name conflicts after NPP restart. All I want is a way to store … Read more

Find and Replace one character in the middle in Notepad++

I am trying to find and replace an arrangement of 6 letters\special character\numbers. For example they appear as such in my original code DEVICE_NAME”,”CB2_02 DEVICE, DEVICE_NAME”,”CB3_09 DEVICE, DEVICE_NAME”,”OB6_12 DEVICE… The order in which the letters, numbers, and special character appear are always the same. I need to replace the _ (underscore) between CB3_09 with a … Read more

How to copy multiple-line-regex outputs into clipboard using Notepad++

I have a fasta file containing genome sequences of multiple viruses. Example: >gi_138375030_Human_papillomavirus GAAAGTTTCAATCATACTTTATTATATTGGGAGTAAAAAAAA… >gi_94481944_Human_herpesvirus_3 GGCCCAGCCCTCTCGCGGCCCCCTCGAGAGAGAAAAAAA… I want to extract only herpes virus entries, including the actual sequence, which is (in this file) always the line folowing the description. The folowing regex works: >.*herpes.*\n.*\n It selects the description and the sequence lines. I have found … Read more