Page 1 of 1

How can i search for more than one word - with words between

Posted: Thu Feb 13, 2014 5:30 pm
by Sahkan
Take for example in google search, if it doesn't have the exact match it will find something that has your search words within .

Examle :
search for : hey how
found : hey man, how are you doing ?

you can compare the normal search in TextCrawler to search that google makes if you type it with quotation marks, like : "Hey how" .

So how i make it to search like google normal search ? and it would be even better to limit these words into one line, so it wont find let's say :

hey man
how are you doing

But will found :

hey man, how are you doing ?

Re: How can i search for more than one word - with words bet

Posted: Mon Feb 17, 2014 12:23 pm
by DigitalVolcano
You can do this using the regular expression tab.

Try this:

Regular expression:

Code: Select all

hey .*? how

Use the 'Dot matches newline' option to match over more than one line.

Re: How can i search for more than one word - with words bet

Posted: Mon Feb 24, 2014 8:16 am
by enigma1964
Hello,

Almost the same question.
I have a Gedcom-file:

1 _NEW
2 TYPE 1
2 DATE 7 APR 2013
3 TIME 05:15:03
1 CHAN

I want to remove the lines

1 _NEW
2 TYPE 1
2 DATE 7 APR 2013
3 TIME 05:15:03

I have tried to search using the regular expression 1 _NEW .*? 1 CHAN (all options)

Nothing is found.
What am I doing wrong?

Re: How can i search for more than one word - with words bet

Posted: Mon Feb 24, 2014 12:22 pm
by DigitalVolcano
It works if you don't put the spaces in:

Code: Select all

1 _NEW.*?1 CHAN
Note if you replace this with nothing you'll lose the "1 CHAN" as well - you'll need to have 1 CHAN as the replace phrase.

Re: How can i search for more than one word - with words bet

Posted: Mon Feb 24, 2014 3:39 pm
by enigma1964
It worked

Thanks

Re: How can i search for more than one word - with words bet

Posted: Fri Feb 28, 2014 9:01 pm
by Sahkan
Thanks, tried some of that right now and it seems to be what i was looking for :)