Remove tabs at the beginning of lines in Notepad++
Removing tab spaces at the beginning of lines in Notepad++ editor. Two cases:
Removing all tabs
Removing all tabs present at the beginning of lines in a text:
- Ctrl + H
- Find What: ^\t+(.*)$
- Replace With: $1
- Wrap around
- Search Mode: Regular expression
- Replace All

Removing a specific number of tabs
Removing a given number of tabs at the beginning of lines in a text. It is exactly two tabs in the example:
- Ctrl + H
- Find What: ^\t{2}(.*)$
- Replace With: $1
- Wrap around
- Search Mode: Regular expression
- Replace All

Operating systems
- Windows