Python regex extractor (list of strings => Regex)