9 lines
154 B
Python
9 lines
154 B
Python
#!/usr/bin/python3
|
|
|
|
import sys
|
|
import re
|
|
|
|
for line in sys.stdin.readlines():
|
|
print(re.sub('(([\D]*[\d]+[\D]+)[\d]+(.*$))', '\\2\\3',line).strip('\n'))
|
|
|