I have a list of email subjects like<XYZ> commented on <ABC>Weekly review for <Company>Your account is ready And I want to find patterns in them so I can group them.Is there a well known algorithm I can use? 
How would you categorise email subjects to find similar emails?
algorithms;machine learning