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
info@abc.com" target="_blank">http://info@abc.com using
regular expression of php?

Answer Posted / simlu_irtt

$string1="info@abc.com";
$string2=split("@",$string1);
print_r($string2);

this code print the string as abc.com

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove duplicate values from php array?

1121


What is 'float' property in css?

985


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1907


What are php strings?

966


What is the purpose of break and continue statement?

961


Explain how you can update memcached when you make changes to php?

1119


Is java is better than php?

986


What is strcmp?

947


Which software is used to run php programs?

994


What is the expansion of LAMP?

1049


What is stdclass in php?

943


What is putenv?

1000


How to send a cookie to the browser?

1022


Can you define an argument as a reference type?

950


What is is_null() in php?

1051