software:misc:replace_in_notepad

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


software:misc:replace_in_notepad [2019/10/31 09:05] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Add to begining or end of line with notepad++ ======
 +Follow these steps:
 +  - Press <key>Ctrl+H</key> to bring up the Find/Replace Dialog.
 +  - Choose the **Regular expression** option near the bottom of the dialog.
 +
 +To add a word, such as test, at the beginning of each line:
 +  - Type **^** in the **Find what** textbox
 +  - Type **test** in the **Replace with** textbox
 +  - Place cursor in the first line of the file to ensure all lines are affected
 +  - Click **Replace All** button
 +
 +To add a word, such as test, at the end of each line:
 +  - Type **$** in the **Find what** textbox
 +  - Type **test** in the **Replace with** textbox
 +  - Place cursor in the first line of the file to ensure all lines are affected
 +  - Click **Replace All** button
 +
 +