Para remover todos os 1 no final de cada linha, você poderia fazer:
- Ctrl + H
- Encontre o que:
1$ou1\h*$ - Substituir por:
LEAVE EMPTY - check Embrulhe
- verificar expressão regular
- Substituir todos
Explicação:
1 : literally "1"
\h* : 0 or more horizontal spaces
$ : end of line