How can we extract string 'techinterviews.com' from a string
'http://www.techinterviews.com' using regular expression in PHP?
Answer Posted / brett
echo str_ireplace('http://www.','',$url);
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
How can we automatically escape incoming data?
What is the output of the following php code?
What kind of variable is age?
Tell me in php, objects are they passed by value or by reference?
Difference between get and post method.
What is mysqli_fetch_array?
What is $_ request?
Is uploaded file php?
What are the features of php 7?
What is the difference between super () and this ()?
What are soundex() and metaphone() functions in php?
What is the use of ajax in php?
What is var_dump?
What is the use of Php variables?
What is the difference between public, protected and private?