How to remove the first character of every line in Notepad++ [duplicate]

This is what I came up with.

Find What: ^.?(.*)

Replace with: \1

Search Mode Regular expression

the answer


I realize this isn't exactly what you were looking for, but one way to remove the first character from every line is to use the ALT-mouse drag to select the first column of text.

In case you haven't discovered this feature yet, here's how:

  • Move to the top of the text, in front of the first character.
  • Press and hold down ALT
  • Click and hold down mouse button and select the first character of every line, and release.
  • Press the DELETE key.

(Probably need word-wrapping off.)