https://stackoverflow.com/questions/11003761/notepad-add-to-every-line
Follow these steps:
- Press Ctrl+H to bring up the Find/Replace Dialog.
- Choose the
Regular expressionoption near the bottom of the dialog.
To add a word, such as test, at the beginning of each line:
- Type
^in theFind whattextbox - Type
testin theReplace withtextbox - Place cursor in the first line of the file to ensure all lines are affected
- Click
Replace Allbutton
To add a word, such as test, at the end of each line:
- Type
$in theFind whattextbox - Type
testin theReplace withtextbox - Place cursor in the first line of the file to ensure all lines are affected
- Click
Replace Allbutton