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
What are the features of php 7?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
Php being an open source is there any support available to it?
Is php a low level language?
How can we connect to a mysql database from a php script?
Who is the father or inventor of php?
What does csrf token mean?
What is http get and post?
How to create a table using php?
How to set session.gc_divisor properly?
What is the difference between echo print and print_r in php?
What is the difference between $argv and $argc? Give example?
What is global array in php?
What is php and its uses?
How to include variables in double-quoted strings?