Regex to match unique substrings Posted on September 2, 2008 #stackoverflow #python This my Answer to the stackoverflow question: Regex to match unique substrings: egrep "\.sty$|\.cls$"