How to extract particular sentences containing a distinct word and put the sentence i

S

Staytuned

I would like to extract particular sentence from a file (which ha
thousands of lines of sentences), which contains specific word, Afte
that, I would like to put those sentences into excel format
For example

john eats apple while he goes home today
john goes to supermarket and then he goes home right not
alice doesn't go home but goes to party
barbara wasn't at home yesterday but she went to the movie
John's mom went to the barbeque party
Alice was going to make a new driving license but she was required t
take lessons

Question: I would like to extract the word "home" from those 6 lines an
put the sentences into excel format.
Any suggestions will be highly appreciated! Thank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top