>>> s='AT/CG'
>>> m=re.compile(r'([A-Z]+)([A-Z]/[A-Z])([A-Z]+)', re.IGNORECASE)
>>> m.match(s).groups()
('A', 'T/C', 'G')--Anand _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
