You are viewing a single comment's thread. Return to all comments →
from re import sub def wrapper(f): def fun(l): return f([sub(r"(.*){0,3}(\d{5})(\d{5})$",\ r"+91 \2 \3", num)for num in l]) return fun
Seems like cookies are disabled on this browser, please enable them to open this website
Standardize Mobile Number Using Decorators
You are viewing a single comment's thread. Return to all comments →