在特定字符之后添加后缀并在字符数字后面添加Notepad ++(Add suffix after specific after some characters and after number of characters Notepad++)
我喜欢在这些字符之后添加.pdf文本:= pd并且在Notepad ++中面后面的字符后面有6个字符
例如:
for text: =pd374069 =pd422552 add suffix: =pd374069.pdf =pd422552.pdfId like to add .pdf text after these characters: =pd and after 6 characters behind characters above in Notepad++
for example:
for text: =pd374069 =pd422552 add suffix: =pd374069.pdf =pd422552.pdf最满意答案
按ctrl + h或进入查找/替换窗口。 选择替换选项卡,然后选择正则表达式选项。
在查找文本框中输入(=pd\d{6}(?!\d))
在替换窗口中输入\1\.pdf
它会改变
SPEC SHEET=pd374053;MANUAL=pd374069;SPEC SHEET=pd422552成
SPEC SHEET=pd374053.pdf;MANUAL=pd374069.pdf;SPEC SHEET=pd422552.pdfPress ctrl+h or go into the find/replace window. Select Replace tab and choose the Regular Expression option.
In the find text box enter (=pd\d{6}(?!\d))
In the replace window enter \1\.pdf
It will transform
SPEC SHEET=pd374053;MANUAL=pd374069;SPEC SHEET=pd422552into
SPEC SHEET=pd374053.pdf;MANUAL=pd374069.pdf;SPEC SHEET=pd422552.pdf更多推荐
发布评论