Given a random text containing many character strings separated from each other by a comma, the code is able to find the anagrams of each input string inside the input