Hello everybody,
Apologize for bad english.
Is it possible with TextCrawler to make small addition?
Here is an example which i would do:
<a href="#fr-SG21-X" class="AT" title="Gn 1.1">1</a>
<a href="#fr-SG21-X" class="AT" title="Gn 1.2">2</a>
<a href="#fr-SG21-X" class="AT" title="Gn 1.3">3</a>
For the first line, X = C (a constant number i choose) + 1
For the 2nd line, X = C (a constant number i choose) + 2 , etc.
Suppose C is 50, the result will be:
<a href="#fr-SG21-51" class="AT" title="Gn 1.1">1</a>
<a href="#fr-SG21-52" class="AT" title="Gn 1.2">2</a>, etc.
How can i do to make TC understanding this?
I known that the following code is wrong:
find:
<a href="#fr-SG21-50+(\d{1,3})" class="AT" title="Gn 1.(\d{1,3})">(\d{1,3})</a>
replace with:
<a href="#fr-SG21-Addition(50+$3)" class="AT" title="Gn 1.$3">$3</a>
Many thxs.
make small addition with TC
Re: make small addition with TC
I find a easy and fast solution for what i'm doing.
I use Libreoffice calc, copy and past the result in a html file, and use TextCrawler with small batch file.
Best regards.
I use Libreoffice calc, copy and past the result in a html file, and use TextCrawler with small batch file.
Ok for me.//TextCrawler Script File 1.0
!Find
\t
!Replace
!Options
MultiLine
!Comment
!Find
\r
!Replace
!Options
MultiLine
!Comment
!Find
\n
!Replace
!Options
MultiLine
!Comment
!End
Best regards.