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

$str1="info@abc.com";
$str1=explode("@",$str1);
print_r($str1);

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which software is best for php?

1005


What is session in PHP. How to remove data from a session?

979


Is it possible to extend the execution time of a php script?

952


Which Scripting Engine PHP uses?

1179


Is wordpress a php framework?

1120


How to open a file for reading?

1025


Tell me what is the actually used php version?

1028


What is inheritance in php with example?

1016


Where is my php ini file?

1071


What is member function?

1037


Is php case sensitive?

934


How arrays are used in php?

1053


How can we change the maximum size of the files to be uploaded?

1033


What is the use of explode() function?

1066


What is isset post?

1022