import rea = 'asd1344tsfg2$%gfn!$$#%$%^SFGSDFSfdfghet4_+#%'b = re.findall('[a-zA-Z0-9]+',a)print ba = ''.join(b)print a