Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / raghav

For IP Address

/([0-255])(\.)$1\1$1\1$1/;

For other question answer may vary depending on the
requirement.

Is This Answer Correct ?    22 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of perl language?

876


You want to open and read data files with perl. How would you do that?

839


What is confess function in perl?

893


What is the use of -t?

908


Explain grooving and shortening of arrays and splicing of arrays?

845


Why aren't Perl's patterns regular expressions?

1082


What is the syntax used in Perl grep function?

966


Define perl scripting?

931


What is automatic error handling in perl?

969


How to code in perl to implement the tail function in unix?

884


What interface used in PERL to connect to database? How do you connect to database in Perl?

943


List the operator used in Perl?

922


What is it meants by '$_'?

859


Show the use of sockets for the server and client side of a conversation?

829


What are the benefits of perl in using it as a web-based application?

839