Notepad ++ Zeile kombinieren [geschlossen]
Aug 15 2020
Wir haben diese Zeilenreihenfolge
129
12
2020
5424180606943758
Wir müssen so sein
5424180606943758|12|2020|129
wie das geht in notepad ++ oder in onoter app
Antworten
Toto Aug 15 2020 at 19:28
- Ctrl+H
- Finde was:
(\d+)\R(\d+)\R(\d+)\R(\d+)\R?
- Ersetzen mit:
$4|$3|$2|$1
- PRÜFEN Umwickeln
- CHECK Regulärer Ausdruck
- Replace all
Erläuterung:
(\d+) # group 1, 1 or more digits
\R # any kind of linebreak
(\d+) # group 2, 1 or more digits
\R # any kind of linebreak
(\d+) # group 3, 1 or more digits
\R # any kind of linebreak
(\d+) # group 4, 1 or more digits
\R # any kind of linebreak, optional
Ersatz:
$4 # content of group 4 | # a pipe $3 # content of group 3
| # a pipe
$2 # content of group 2 | # a pipe $1 # content of group 1
Screenshot (vorher):

Screenshot (nachher):
