Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add text after every line, multiple entries

I'm just looking for a way to quicken the process of adding info after every line in a notepad application.

I've got a notepad file that has many entries, around 1000+ and am looking to find a way to add ,"" after every line however I can't simply search and replace since every line is different than the other. Is there another way to simply add three characters after every line reqgardless of what they are?

like image 613
Criel Avatar asked Dec 10 '12 17:12

Criel


People also ask

How do you add a prefix and suffix in Notepad++?

Open Notepad++, then click Ctrl + F . *Find What: "^" (which represents index of the each line - "PREFIX"). For Suffix on each line: Follow the same steps as above "Replace ^ with $" . That's it.

How do I add multiple lines in Notepad++?

You can get this in notepad++ with CTRL+ALT+Move Mouse to where you want across multiple lines, but I want to be able to do this with keyboard shortcuts across the entire document.


1 Answers

You can do so by hitting Cntrl+F and then checking regular expression box.And put what you want to replace with what thing. You can put regular expression to find as

    \r 

and replace it with

        "YOUR TEXT"\r

enter image description here

like image 191
Bhushan Firake Avatar answered Sep 23 '22 01:09

Bhushan Firake