Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / vyvyan
ip_pattern = r'\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b'
| Is This Answer Correct ? | 26 Yes | 5 No |
Post New Answer View All Answers
Why to use perl?
Explain the meaning of subroutine?
What are perl array functions?
How to create a package?
Which has the highest precedence, List or Terms? Explain?
What does the’$_’ symbol mean?
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?
what are the three groups involved in information sharing?
Explain strftime() function in perl?
Define say() function in perl?
Explain tk?
what is Chop & Chomp function does?
What is perl pop array function?
Where do we require ‘chomp’ and what does it mean?
What is perl scripting?