如何使用notepad ++在所有行的每一端添加一个字符

时间:2013-01-04 09:21:18

标签: replace character line notepad++

Basicaly标题说明了一切,我的文件看起来像这样:

"edit Product",""Home > Opto-electronics > LED > Standard LED, Multicolour"","2226",""KINGBRIGHT LED, 3MM, HE-RED/GRN L-93WEGW"",""SC07621"","197
"edit Product",""Home > Resistors > Fixed"","2228",""VISHAY DRALORIC RESISTOR, 0402, 5%, 10K0 CRCW040210K0JNEAIF"",""RE06211"","50
"edit Product",""Home > Resistors > Fixed"","2229",""VISHAY DRALORIC RESISTOR, 0402, 5%, 3R90 CRCW04023R90JNEAIF"",""RE06212"","-1
"edit Product",""Home > Resistors > Fixed"","2230",""VISHAY DRALORIC RESISTOR, 0402, 5%, 2R70 CRCW04022R70JNEAIF"",""RE06220"","25

我需要它看起来像这样:

"edit Product",""Home > Opto-electronics > LED > Standard LED, Multicolour"","2226",""KINGBRIGHT LED, 3MM, HE-RED/GRN L-93WEGW"",""SC07621"","197
"edit Product",""Home > Resistors > Fixed"","2228",""VISHAY DRALORIC RESISTOR, 0402, 5%, 10K0 CRCW040210K0JNEAIF"",""RE06211"","50**"**
"edit Product",""Home > Resistors > Fixed"","2229",""VISHAY DRALORIC RESISTOR, 0402, 5%, 3R90 CRCW04023R90JNEAIF"",""RE06212"","-1**"**
"edit Product",""Home > Resistors > Fixed"","2230",""VISHAY DRALORIC RESISTOR, 0402, 5%, 2R70 CRCW04022R70JNEAIF"",""RE06220"","25**"**

1 个答案:

答案 0 :(得分:6)

ctrl + h选中查找内容 \n,将替换为设置为"\n并设置搜索模式Extended

这应该有效。