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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -