Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

re mobile no validate python

# validate either with +91 or without
s = +91 9876543210
r = re.compile("?:(+91s)?([6-9][0-9]{9})$")
m = re.search(r,s)
if m:
  print(re.group())
else:
  print("not found")
  
        
 
PREVIOUS NEXT
Tagged: #mobile #validate #python
ADD COMMENT
Topic
Name
1+6 =