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

ip_pattern = r'\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b'

Is This Answer Correct ?    26 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why to use perl?

890


Explain the meaning of subroutine?

907


What are perl array functions?

1002


How to create a package?

895


Which has the highest precedence, List or Terms? Explain?

851


What does the’$_’ symbol mean?

950


Explain perl. When do you use perl for programming? What are the advantages of programming in perl?

826


what are the three groups involved in information sharing?

831


Explain strftime() function in perl?

882


Define say() function in perl?

904


Explain tk?

912


what is Chop & Chomp function does?

940


What is perl pop array function?

883


Where do we require ‘chomp’ and what does it mean?

916


What is perl scripting?

871