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

$url = "http://info@abc.com"
$domain = strstr($url,"@");
echo $domain

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of header() function in php? What the limitation of header()?

920


What is php variable?

940


What is mvc in php?

960


What is session data?

906


Is php front end?

868


What is php addslashes?

1005


What is php7?

1014


Where is session id stored?

910


What is a session in php?

938


What is member function?

972


Tell me how stop the execution of a php scrip?

930


Explain me the difference between include and require?

858


> symbol is used to redirect the output of a command. State Whether True or False?

1100


Require_once(), require(), include(). What is difference between them?

933


Tell me is it possible to remove the html tags from data?

851