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
Explain me how to include a file to a php page?
What is url encoding and decoding in php?
Do you know what is use of count() function in php?
What is interface? Why it is used?
What is strlen php?
How many types of session are there?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
Tell me what are sql injections, how do you prevent them and what are the best practices?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
Why php 7 is faster?
Is php 7 backwards compatible?
What is json php?
What are the benefits of composer?
What are the ways to include file in php?
How to get best php developer Experience in Php with Sugar CRM / VTiger.