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

What is mvc in php?

957


Why php 7 is faster?

909


How to find the length of a string?

904


What is difference between core php and framework?

920


Tell me how can we automatically escape incoming data?

876


What are the two types of variables?

917


How does firefox manage cookies?

939


What is the Pipe Symbol represented?

1019


What is difference between strstr() and stristr() in PHP?

928


What is uniqid php?

979


Xplain is it possible to use com component in php?

871


Which library is used in php to do various types of image work?

934


How to split a string into array using php?

1073


What is x+ mode in fopen() used for?

966


What are session variables in php?

942