Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / gopal
I hope this is the right way to match IP address
/((\d{1,3})(\.)){3}\d{1,3}/
| Is This Answer Correct ? | 12 Yes | 24 No |
Post New Answer View All Answers
How do I pass a command line argument in perl?
Explain substr function in perl?
What is the use of '>>' in perl?
How to do comment in perl?
Explain '->' in perl?
You want to print the contents of an entire array. How would you do that?
Explain goto name?
You want to open and read data files with perl. How would you do that?
What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
Explain goto label?
Distinguish my and local?
Explain the internal working of cgi
What are the logical operators used for small scale operations?
Enlist the advantages of using c over perl?
If you want to empty an array then how would you do that?