I apologize that this question is somewhat vague, I'm very new to Python...
I need to parse a tab delimited text file. It's a very large file and from it I am trying to identify and extract specific things. For example, if one line was:
[apple banana cherry date] I want to search and identify the term "apple" and then extract the term "date".
Then, I need to acces the list of extracted terms and use them (for comparisons with other lists, etc.)
I have read about Regular Expressions, but while that seems to be good for searching, I don't know how to use it to extract terms other than the searched key word..Also, I'm not sure how to access/manipulate the array of results after parsing..
Any help/direction/pointers/suggestions/examples would be amazing.
Thank you so much!