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

How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP

Answer Posted / sathya

Use this coding

$variablename="http://info@abc.com";
$u=explode("@",$variablename);
$u2=$u[1];

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the environmental variables?

1020


Which cryptographic extension provide generation and verification of digital signatures?

943


What is echo in html?

890


Is learning php easy?

1009


Is facebook still in php?

940


What is htaccess in php?

1283


Can php variables have numbers?

1002


What is is_null() in php?

1065


What is the difference between associative array and indexed array?

1082


What are php applications?

945


What is the use of trim function in php?

970


What are the steps involved to run php?

1069


What is php explain?

949


How to open a file for writing?

1063


What is the name of the scripting engine that powers PHP?

1242