Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / leo
/(\d+)(\.\d+){3}/)
| Is This Answer Correct ? | 4 Yes | 16 No |
Post New Answer View All Answers
Explain the various characteristics of perl.
What are the purpose of close(), getc() and read() functions?
What rules must be followed by modules in perl.
Explain the difference between declarations of 'my' and 'local' variable scope in perl?
How to determine strings length in perl?
What $! In perl?
Explain which feature of PERL provides code reusability?
What's the difference between /^Foo/s and /^Foo/?
What is the purpose of goto expr statement?
Explain different types of perl operators.
How will you get the count of parameters passed to a perl subroutine?
What can be done for efficient parameter passing in perl?
What does last statement do in perl?
Explain arrays in perl.
Why does Perl not have overloaded functions?