How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / nitesh kumar
you can use explode funciton
echo $site_array=end(explode("@","http://info@abc.com"));
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is a variable cost example?
What is memcache?
What is put method in php?
What exactly is PHP?
Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.
What is inheritance in php?
Tell me how can we define a variable accessible in functions of a php script?
What is the Pipe Symbol represented?
Is php secure?
What is htaccess? Why do we use this and where?
Does browser understand php?
What is the difference between null and empty?
What is the difference between include and require?
Explain about the connective abilities of the PHP?
Why should I learn php?