Python regex to remove all leading numbers including underscores

后端 未结 0 741
生来不讨喜
生来不讨喜 2020-12-18 07:24

How can i modify my existing regex to make it remove all the leading characters that are either a digit or an underscore.

re.sub(\'^(\\d+|_).*\', \'\', n, fla         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题