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
What is the difference between perl array and perl hash?
What is 'commit' command in perl?
How will you get the count of parameters passed to a perl subroutine?
What does delete function do in perl?
how to connect cisco switch uisng perl script
Elaborate on perl bite-wise operators.
How does polymorphism work in perl?
What is the use of –w?
Write syntax to add two arrays together in perl?
Why aren't Perl's patterns regular expressions?
Give an example of the -i and 0s option usage.
Explain the default scope of variables in perl?
What is an interpolation in perl?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
How to change a directory in perl?