Notepad ++ Replace All Regular Expression (Start of the line and End of the line)

notepad++

Solution

Not a solution, but a workaround:

Instead of using Regex's you can use the notepad++ macro feature to record keystrokes and then replay until the end of the file...

- Put cursor in front of first line

- Start recording

- Type a (

- Press down and left on your keyboard

- End recording

Replay to end of file

Easier if you don't know Regex's.

Problem

I am tryin to Replace the start of line with a "(". However when i use replace all i'm not able to do so. For eg: ``` 432425\n 4254645\n w4546746\n 46457367\n 4765756\n ``` I want the output as using Replace All So i use the ^ symbol with Regular Expression Selected and Replace All. Using only Replace works fine. ``` (432425\n (4254645\n (w4546746\n (46457367\n (4765756\n ```

Original source