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

{(^[1-9]|^[0-9][0-9]|^1[0-9][0-9]|^2[0-5][0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-5][0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-5][0-5])\.([0-9]$|[0-9][0-9]$|1[0-9][0-9]$|2[0-5][0-4]$)}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between die and exit.

999


Which feature of perl provides code reusability?

993


What is a chomp() function in perl?

1048


Why we use CGI?

2538


Write a program to decode the data in the form using cgi programming

1045


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

1009


Give an example of using the -n and -p option.

1000


What are the features of perl language?

1088


Explain 'grep' function.

982


What are the various uses of perl?

1035


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

891


What does `$result = f() .. g()' really return?

1200


How to read file into hash array ?

1105


What can be done for efficient parameter passing in perl? Explain.

1033


How can memory be managed in Perl?

1056