Given one list and one string, how can I create an array to see where the words in the list match with the string? For example:
A = [\'the\', \'quick brown\',