I am using notepad++ to go through a text file and removed the first space of each line using the regular expression ^\s
in the Find field, where I leave the Replace With field empty and click Replace All.
The problem is that each line is reiterated multiple times, so that if there are more spaces in the beginning of a line they will be removed as well. I want just the first space.
How can I accomplish this?