Page 1 of 1

Variably Replace list file

Posted: Sat Jan 02, 2016 7:44 am
by sardaukar
Is it possible to variably search and replace in different files in Replace list filter according to some value in global variable/macro.

Replace list: @variably_path Replace
[X] Match case
[ ] Whole words only
[ ] Case sensitive replace
[ ] Prompt on replace
[ ] Skip prompt if identical
[ ] First only
[ ] Extract matches

[ ] Process longest strings first
[ ] Simultaneous search

So every searched parts in input text could been search and replaced from different search and replace files.

Looks very powerful to me.
Is it possible to achieve this in TextPipe?

I would like to: according of first 3 letters, that word should been send for [search] \t [replace] in replace file starting with those 3 letters.

So,
word "mountain" would be send for search and replace in mou.tab where [mountain] \t [languagetranslation];
word "river" would be send for search and replace in riv.tab where [river] \t [languagetranslation].

Thank you!

Re: Variably Replace list file

Posted: Thu Jan 07, 2016 5:00 pm
by DataMystic Support
I think the best way is to use

Code: Select all

Filters\Restrict\Restrict to filenames matching pattern list
and then apply different lists to each group of files (inside each restriction).

Is that what you want? Why do you need to do this?