Ber*_*rnd 94 string text-editor sublimetext2
用崇高的文本2 -是否有可能插入一个换行符例如,通过使用在文本文件中的特定字符串后/文本返回查找 ‣ 替换工具?
(额外问题:是否可以删除特定字符串后的所有换行符)
Sar*_*ara 222
以下是在Mac上执行此操作的方法:
Command+ F> 类型字符串 > Control+ Command+ G> ESC> Right Arrow> 换行符
和Windows/Linux(未经测试):
Control+F > type string > Alt+F3 > ESC > Right Arrow > line break
The important part being Control+Command+G to select all matches.
Once you've selected the text you're looking for, you can use the provided multiple cursors to do whatever text manipulation you want.
Protip: you can manually instantiate multiple cursors by using Command+click (or Control+click) to achieve similar results.
ved*_*ucm 65
使用" 查找 - 替换"工具,可以通过两种不同的方式完成此操作:
单击替换字段并按Ctrl+ Enter以插入换行符(该字段应调整大小但不会,因此很难看到插入换行符).
在查找 - 替换工具内,激活S&R正则表达式模式(左侧第一个图标.*,键盘快捷键为Alt+ Ctrl/Cmd+ R以激活/停用它).
\n在要插入换行符的任何位置键入" 替换"字段.
如果要查找换行符,只需在" 查找"字段中执行此操作,这两种解决方案也可以使用.