How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / sameer joshi
You can do like $site_array=explod("@","http://info@abc.com");
$site_addr=$sitr_array[1];
$site_addr will get the value as abc.com
| Is This Answer Correct ? | 13 Yes | 7 No |
Post New Answer View All Answers
Tell me how can we get the error when there is a problem to upload a file?
How to read and display a HTML source from the website url?
What are the features of php 7?
What is htaccess in php?
What does php do?
What are the new features in php 7?
Is it possible to use com component in php?
What is the current stable version of php? What advance thing in php7?
What is a php array?
What is php pathinfo?
Explain the changes in php versions?
What is instantiation?
What is call by reference in php?
Explain Whitespace Characters?
what is CURL?