This seems to work to get out the alpha-numeric characters.

#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-

import re

pat = re.compile('\w')

lst = []

chars = '@*1&^$&[EMAIL PROTECTED](&@2$*(&[EMAIL PROTECTED](*&3*(&c^&%4&^%'

lst = pat.findall(chars)
for x in lst:
    print x,


-- 

Thanks
Eric Lake

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to