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, flags=re.IGNORECASE)
# test strings
0001_Smoke_B_B
0002_Smoke_B_B
0012_Smoke_B_B
MA103
MA104
00_00MA105
The end goal should output these
Smoke_B_B
Smoke_B_B
Smoke_B_B
MA103
MA104
MA105