python 正则匹配字符串里面的字符

import re
x=re.findall(r'f[a-z]*', 'which foot or hand fell fastest')
print(x)

原文地址:https://www.cnblogs.com/sea-stream/p/10003721.html