To replace or insert a character at the end of any line:
Find what: \n
Replace with: [what ever you want]\n
To insert a new line:
Find what: [character to insert new line at]
Replace with: \n
To add characters to the beginning of each line:
Find what: ^
Replace with: [whatever you want]^