BOOKING

2014年9月10日星期三

notepad++ 如何用回车来替换空格

这里采用的办法是正则表达式:
例如下面的例子
abc123 xyz456-blah
fsafd23 xyz456-green
89hjkf23 xyz456-red
afdsa23 xyz456-yellow
abaac123 xyz456-orange

可以使用替换

Search string:
 xyz
Note the space in front of xyz.

Replace string:
\r\nxyz

You will also need to set the "Search Mode" to "Extended" so that Notepad++ honors escape codes.

没有评论:

发表评论