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 are the uses of explode() function?
What is parent __construct ();?
What does PEAR stands for?
How to create a text file in PHP?
Why php script is not running in browser?
Whether php supports microsoft sql server?
What is a substring in php?
What are traits?
What is difference between rest api and restful api?
How to create an array from php string?
Where is the functions php in wordpress?
What is repository in php?
How many different types of messages available in php?
How do you identify independent and dependent variables in regression analysis?
Is empty in excel?