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
What does the scope of variables means?
What is difference between html and php?
How can I learn php fast?
What is default session time and path in PHP. How to change it?
What is the mysql injection?
What is an abstract class in php?
What is nginx and what is it used for?
What is difference between session and cookie in PHP?
Tell me how do I escape data before storing it into the database?
How to create a session? How to remove data from a session?
Is php faster than javascript?
Explain what is memcache?
What is the difference between client-side and server-side programming?
What is array filter in php?
How you can update memcached when you make changes to php?