You are viewing a single comment's thread. Return to all comments →
import re [print(re.sub(r"(\d{1,3})[\-\s](\d{1,3})[\-\s](\d{4,10})", r"CountryCode=\1,LocalAreaCode=\2,Number=\3", input())) for _ in range(int(input()))]
Seems like cookies are disabled on this browser, please enable them to open this website
Split the Phone Numbers
You are viewing a single comment's thread. Return to all comments →