python中如何去掉列表里面的特殊字符或字母或阿拉伯数字?例题如图所示
问题描述:
答
s = "1983b"
match_regex = re.compile(‘\d+’)
bd = match_regex .findall(s)
print(bd)