Redsuncube
Showing posts with label
Python Regular Expression
.
Show all posts
Showing posts with label
Python Regular Expression
.
Show all posts
Give a regular expression that validates email id using python regular expression module re
Python provides a regular expression module
re
Here is the re that validates a email id of .com and .co.in subdomain:
re.search(r"[0-9a-zA-Z.]+@[a-zA-Z]+\.(com|co\.in)$","micheal.pages@mp.com")
Older Posts
Home
Subscribe to:
Posts (Atom)