Notepad ++ new-line

时间:2014-12-26 19:16:36

标签: notepad++

我想更改以下几行:

note: 10    name: A
note: 08    name:  B
note: 12    name:  C
note: 16    name:  D

到这个

name: A
note: 10
name: B
note: 08
name: C
note: 12
name: D
note: 16

1 个答案:

答案 0 :(得分:0)

怎么样:

找到:^(note:\s*\d+)\s+(name:.*)
替换为:$2\n$1

不要检查Dot matches newline