- Ctrl + H
- Найти что:
^.+?\|\h*(.+?)\h*\|.+?\|\h*(.+?)\h*\|.*$
- Заменить на:
$1 $2
- check Обтекание
- check Регулярное выражение
- UNCHECK
. matches newline
- Заменить все
Объяснение:
^ # beginning of line
.+? # 1 or more any character, not greedy
\| # 1 pipe character
\h* # 0 or more horizontal spaces
(.+?) # group 1, 1 or more any character, not greedy
\h* # 0 or more horizontal spaces
\| # 1 pipe character
.+? # 1 or more any character, not greedy
\| # 1 pipe character
\h* # 0 or more horizontal spaces
(.+?) # group 2, 1 or more any character, not greedy
\h* # 0 or more horizontal spaces
\| # 1 pipe character
.* # 0 or more any character
$ # end of line
Замена:
$1 : content of group 1
: 1 space
$2 : content of group 2
Результат для данного примера:
wandeln entsenden