Hello,
If I want to extract all lines that contain the words 'for' and 'wedding'... I know how to get the lines that exactly match 'for wedding' but I don't know how to get the lines that contain both of those words when they are not right next to each other.
For example... I would want to extract lines like this...
songs for wedding
('for' and 'wedding' right next to each other) I know how to do that.
how to pay for a wedding
('for' and 'wedding' separated by a word) I DON'T know how to do that.
how to pay for your daughters wedding
('for' and 'wedding' separated by more than one word) DON'T know how to do that either.
Thanks for any help.
Best,
ed
extracting lines with multiple word choices...
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
-
- Posts: 13
- Joined: Sat Nov 10, 2007 11:10 am
-
- Posts: 13
- Joined: Sat Nov 10, 2007 11:10 am
Re: extracting lines with multiple word choices...
I guess this can't be done?
Thx,
ed
Thx,
ed
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: extracting lines with multiple word choices...
Use this pattern for the 'Extract matching lines' filter:
or using an EasyPattern
Code: Select all
for.+wedding
Code: Select all
for[ 1 + chars ]wedding