Find string with number, increase number

Tool for Search and Replace across multiple files.
Post Reply
cubilas
Posts: 3
Joined: Mon Jan 31, 2022 9:07 pm

Find string with number, increase number

Post by cubilas »

Hello!
What a great software, I use it almost daily for what I do.

Question - I'm trying to locate a reoccurring string which has a number, and increment the number by an amount.

Example :
Locate the following :
<Topic>5</Topic>
<Topic>6</Topic>
<Topic>7</Topic>

Increment each number by +17
Resulting in :
<Topic>22</Topic>
<Topic>23</Topic>
<Topic>24</Topic>

Is there a way to do this in TextCrawler?

Thanks!
User avatar
DigitalVolcano
Site Admin
Posts: 1729
Joined: Thu Jun 09, 2011 10:04 am

Re: Find string with number, increase number

Post by DigitalVolcano »

Not currently, but I'll add it to the list for version 4!
Post Reply