admin管理员组文章数量:1313275
I need all lines starting with G303 to have the W removed , add a (
and a 3
in front of each digit before the L and end in a )
Sometimes there may be up to 3 digits on the line.
O00000001(MG3-231:01395-00011-WAT REV 119P7 )
G300U0(414C554D494E554D)Z4.A0B1
G379U1A0X10.1Y0.1E0.Z-21.6542F4.8
521E0.Z-19.8045F5.2
G305U4T14D3.S4P1
G420U4
N1M9
N2G91&G28Z0.
N3G28A0.Y0.S0M0
G421
G382U5D0.
G303U6W2L1F0 = G303U6(32)L1F0
G382U7D180.
G303U8W32L1F0 = G303U6(3332)L1F0
G301U9B1
M30
Right now I am using ^(G303.*)W
replace with $1\(3
and later just search for G303
and manually editing the lines.
Even if I have to do 2 operations , that would be better.
本文标签: replaceModify text file in NotepadStack Overflow
版权声明:本文标题:replace - Modify text file in Notepad++ - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741910943a2404439.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论