Page 1 of 1

Need help on batch (find/replace)

Posted: Wed Jan 08, 2014 4:38 pm
by illusions
Hi,

I have 1 text files.
I cannot seem to figure out how to do batch find / replace.

1. I click the tab "Input file" enter location of text.txt
2. click tab batch commands
3. click batch editor
4. click load ... my textcrawler script.txc
5. click replace ... nothing happen "no match found in this file" but there should be 2 match.


Please help.




my textcrawler batch script

Code: Select all

//TextCrawler Script File 1.0


!Find
http://i1367.photobucket.com/albums/r781/anillusions/2CAST_zps24f30e11.gif
!Replace
https://whatimg.com/i/nsSA11.gif
!Options

!Find
http://i1367.photobucket.com/albums/r781/anillusions/mediainfo_zps5f4b5359.png
!Replace
https://whatimg.com/i/MhnDAx.gif
!Options

!End

Re: Need help on batch (find/replace)

Posted: Thu Jan 09, 2014 10:51 am
by DigitalVolcano
It seems to work for me. You might want to try it with the regular expression flag turned off in the script though:

Code: Select all

//TextCrawler Script File 1.0

!Find
http://i1367.photobucket.com/albums/r781/anillusions/2CAST_zps24f30e11.gif
!Replace
https://whatimg.com/i/nsSA11.gif
!Options
Non-RegEx
!Comment


!Find
http://i1367.photobucket.com/albums/r781/anillusions/mediainfo_zps5f4b5359.png
!Replace
https://whatimg.com/i/MhnDAx.gif
!Options
Non-RegEx
!Comment


!End
Do you get matches in the file if you just enter the search string in the standard 'Find' box (not batch) ?

Re: Need help on batch (find/replace)

Posted: Fri Jan 10, 2014 12:22 am
by illusions
Thank you turning the expression flag off did the job : )