Python3:re.complieの使い方
import re
pattern = re.compile('[a-zA-Z]')
result = pattern.findall('as3SiOPdj#@23awe')
print (result)
結果:
['a', 's', 'S', 'i', 'O', 'P', 'd', 'j', 'a', 'w', 'e']
import re
pattern = re.compile('[a-zA-Z]')
result = pattern.findall('as3SiOPdj#@23awe')
print (result)