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

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

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the connective abilities of the PHP?

1030


What is the difference between javascript and php?

1034


Explain array_uintersect()?

1003


What enctype is required for file uploads to work?

1030


What is PHP's configuration file called?

1181


How many escape sequences are recognized in double-quoted strings in php?

992


How to access a specific character in a string using php?

1041


How to make a class in php?

978


How long is csrf token?

924


Which is better get or post method?

915


What are the final class and final method?

1020


What is the difference between session_unregister() and session_unset()?

1118


Do you know what's the difference between __sleep and __wakeup?

1002


How to delete an element from an array?

1088


Does php have multiple inheritance?

994