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...

Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'

Answer Posted / esorimer

preg_replace("/(.*)@(.*)/","\1",$string);

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between $message and $$message?

923


Tell me how comfortable are you with writing html entirely by hand?

866


Which programming language does php resemble to?

975


What is laracast?

974


What is a trait in php?

978


What the limitation of header() function in php?

910


What is oops php?

914


for image work which library?

917


What is include in php?

901


How is it possible to return a value from a function?

961


How to define a user function?

960


What is null value in php?

980


Tell me what is the use of mysql_real_escape_string() function?

949


How are cookies created?

923


What is return value in php?

931