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

Explain about PHP cookies?

1107


What is button in html?

1006


Explain the three different kinds of Arrays?

1246


Describe PHP error and logging information?

1141


What is a query in php?

964


Is php pass by reference or value?

1144


What is the purpose of pear in php?

1074


What exactly is validating and sanitizing?

1074


How to return a value back to the function caller?

1095


Is null check in php?

1043


What is the difference between abstract class and interface in php?

1216


What is the ioncube php loader?

1061


What is the mysql injection?

1048


What is mysqli_real_escape_string?

1038


what is PDO?

1308