How to make search in TC
Moderators: white, Hacker, petermad, Stefan2
How to make search in TC
I am sorry, I am a new guy, my question seems too stupid but...
I want to search the files with such title: string A and, (string B or C) should appear at least once?
when I trying, I found I can't even search the title with both A and B by simply type 'A B' just as in other search tools.
So, How can I make such simple search quickly, I don't want to use regex for such task?
Thanks,
I want to search the files with such title: string A and, (string B or C) should appear at least once?
when I trying, I found I can't even search the title with both A and B by simply type 'A B' just as in other search tools.
So, How can I make such simple search quickly, I don't want to use regex for such task?
Thanks,
Re: How to make search in TC
Hellojasy wrote: So, How can I make such simple search quickly, I don't want to use regex for such task?,
Sorry but without regex you can't.
Any way you should try regex, is very simple(at lease in this case), check regex and search for A(B|C)
Re: How to make search in TC
Hi, thanks for your help, but I think the regexp is order sensitive, right?dott wrote: Hello
Sorry but without regex you can't.
Any way you should try regex, is very simple(at lease in this case), check regex and search for A(B|C)
But I don't know the orders the appearances, any smart way other than enum all the possible orders to express such query?
Thanks,
Yes, it's surely only two in this case, and sorry for my carelessness, if I changed my criteria to contain all the three, A and B and C, how can I do?white wrote:Only two possibilities to enumerate:
Check RegEx and search for "(A.*(B|C)|(B|C).*A)"
((A|B|C).*){3,}seems ok in normal cases while in the file names where repeated string can hardly appear, but how it be done in more common case?
and not enum?
Thanks,
I know a straightforward solution, but I don't know if it is simple enough for you. Do this:
* Search for A
* Feed to listbox
* Select all
* Search for B
* Feed to listbox
* Select all
* Search for C
BTW. The Multi-Rename Tool's search and replace function does support multiple search queries in one step. But that probably does not help you.
* Search for A
* Feed to listbox
* Select all
* Search for B
* Feed to listbox
* Select all
* Search for C
BTW. The Multi-Rename Tool's search and replace function does support multiple search queries in one step. But that probably does not help you.
Hi, thanks a lot. I am indeed somehow straightforward to insist searching all in one step , so your search and feed method is just fine.white wrote:I know a straightforward solution, but I don't know if it is simple enough for you. Do this:
* Search for A
* Feed to listbox
* Select all
* Search for B
* Feed to listbox
* Select all
* Search for C
BTW. The Multi-Rename Tool's search and replace function does support multiple search queries in one step. But that probably does not help you.
And the multi-rename search cannot filter the results but modify it.
Thanks,
And you have not even tried the plugin tab in the search dialog yet...
At the Plugins tab do:
* Check option Search in plugins
* Check option Combine with AND (all match)
* Fill in plugin rules like this:
At the Plugins tab do:
* Check option Search in plugins
* Check option Combine with AND (all match)
* Fill in plugin rules like this:
Code: Select all
Plugin Property OP Value
tc name contains A
tc name contains B
tc name contains C
Oh, yes, that it is.white wrote:And you have not even tried the plugin tab in the search dialog yet...
At the Plugins tab do:
* Check option Search in plugins
* Check option Combine with AND (all match)
* Fill in plugin rules like this:Code: Select all
Plugin Property OP Value tc name contains A tc name contains B tc name contains C
Thanks a lot, I have thought your last post is the most easy way tc can achieved...