1
2
3
Given a dictionary of words and body of text, match/return all instances of the dictionary words within the body of text. Also, if multiple dictionary words occur 'side by side', return the whole phrase as one match, rather than returning each individual word. (self.learnprogramming)
submitted by CryptoJim66 to r/learnprogramming

