写出开头匹配字母和下划线,末尾是数字的正则表达式?
```python s1='_aai0efe00' res=re.findall('^[a-zA-Z_]?[a-zA-Z0-9_]{1,}\d$',s1) print(res) ```
590
文章
1.7W+评论
3.5W+浏览
796W+标签
7.2K+```python s1='_aai0efe00' res=re.findall('^[a-zA-Z_]?[a-zA-Z0-9_]{1,}\d$',s1) print(res) ```