How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / navneet singh
$url = "http://info@abc.com"
$domain = strstr($url,"@");
echo $domain
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What is use of header() function in php? What the limitation of header()?
What is php variable?
What is mvc in php?
What is session data?
Is php front end?
What is php addslashes?
What is php7?
Where is session id stored?
What is a session in php?
What is member function?
Tell me how stop the execution of a php scrip?
Explain me the difference between include and require?
> symbol is used to redirect the output of a command. State Whether True or False?
Require_once(), require(), include(). What is difference between them?
Tell me is it possible to remove the html tags from data?