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 'techinterviews.com' from a string
'http://www.techinterviews.com' using regular expression in PHP?

Answer Posted / sunil kumar

echo
strstr("http://www.techinterviews.com","techinterviews.com");

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of explode() function?

1056


What is parent __construct ();?

1013


What does PEAR stands for?

1045


How to create a text file in PHP?

1123


Why php script is not running in browser?

1045


Whether php supports microsoft sql server?

1048


What is a substring in php?

1067


What are traits?

1277


What is difference between rest api and restful api?

984


How to create an array from php string?

1045


Where is the functions php in wordpress?

1086


What is repository in php?

1017


How many different types of messages available in php?

1000


How do you identify independent and dependent variables in regression analysis?

953


Is empty in excel?

983