You are viewing a single comment's thread. Return to all comments →
from re import sub def wrapper(f): r = r"^(?:\+?91|0)??(\d{5})(\d{5})$" s = r"+91 \1 \2" def fun(li): return f([sub(r, s, i) for i in li]) 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 →