Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.

Answer Posted / ajay

All those above answer are wrong...because all of them take

0.0.0.0 as valid IP address which is not the case...with
computer science ...

Developed By Anshuman sengupta

Reviewed by Arnab Bose

Tested by Avishek chatterjee

-- WHAT DORKS ! and Its tested, No wonder we need
versions/upgrades !

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you get the count of parameters passed to a perl subroutine?

532


Explain the difference between declarations of 'my' and 'local' variable scope in perl?

494


How will you open a file in a write-only mode in perl?

474


What are stdin, stdout and stderr?

507


What is the importance of perl warnings?

531






How do I pass a command line argument in perl?

548


Explain arrays in perl.

513


Explain goto label?

509


What is the difference between single (') and double (") quote in a string in perl?

481


Explain chomp?

510


Explain substr function in perl?

535


Explain cpan?

527


How to open a directory in perl?

529


how to get back up from private character editor which is saved in the format of .udf

1840


What can be done for efficient parameter passing in perl?

471