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 different instances used in cgi overhead?

989


How to get help for perl?

986


What is subroutine in perl?

952


What is an interpolation in perl?

1002


What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)

946


If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?

1016


Explain the use of 'my' keyword in perl?

1025


What are hashes?

953


What can be done for efficient parameter passing in perl?

900


How to connect to SQL server through Perl?

1062


Can inheritance be used in perl? Explain with the help of an example.

994


Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.

1033


Explain about typeglobs?

944


What are the logical operators used for small scale operations? Explain them briefly.

992


Explain subroutine in perl?

956