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 is the difference between require and include in php?
What is session and Cokkies . How it works . tell some thing about Session_id()
What is the Default syntax used in PHP?
What is difference between include and include_once in php?
Explain the installation of PHP on UNIX systems?
How to remove the new line character from the end of a text line in php?
How can we get the error when there is a problem to upload a file?
What is inheritance in php?
Explain the difference between isset() and empty()?
What is difference between get and post?
What is the meaning of xdebug?
What is uri routing?
Explain the types of string comparision function in PHP
What good is polymorphism?
Are php sessions secure?