variables - Add suffix after specific after some characters and after number of characters Notepad++ -


id add .pdf text after these characters: =pd , after 6 characters behind characters above in notepad++

for example:

for text: =pd374069 =pd422552 add suffix: =pd374069.pdf =pd422552.pdf 

press ctrl+h or go find/replace window. select replace tab , choose regular expression option.

in find text box enter (=pd\d{6}(?!\d))

in replace window enter \1\.pdf

it transform

spec sheet=pd374053;manual=pd374069;spec sheet=pd422552 

into

spec sheet=pd374053.pdf;manual=pd374069.pdf;spec sheet=pd422552.pdf 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -