find number and add valie

A place to try and solve your RegEx problems.
Post Reply
thunderboldt
Posts: 1
Joined: Thu Nov 05, 2015 9:06 pm

find number and add valie

Post by thunderboldt »

I have a text file with numbers like PR1000 PR1001 etc. I would like to find them and add 720. Is that possible?
I search for PR([0-9]{4}) and find them. $1 contains the number but I cannot find a way to add 720 in the replace field.

I would appreciate any suggestions.
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: find number and add valie

Post by DigitalVolcano »

Sorry, math functions are not currently implemented in TextCrawler. It's on the ideas list though.
Post Reply