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 / 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


Please Help Members By Posting Answers For Below Questions

What are the arguements we normally use for perl interpreter?

906


How the interpreter is used in Perl?

898


What is grep used for in perl?

875


What does delete function do in perl?

929


Explain split function in perl?

927


you are required to replace a char in a string and store the number of replacements. How would you do that?

860


Define print() function in perl?

866


Explain what is the scalar data and scalar variables in Perl?

899


Demonstrate subroutines in perl with a simple example.

819


What are the steps involved in configuring a server using cgi programming?

851


How can we create perl programs in unix, windows nt, macintosh and os/2 ?

834


What does redo statement do in perl?

974


What are the advantages of perl programming?

945


How do I do fill_in_the_blank for each file in a directory?

911


What is the difference between exec and system?

1011