How can we extract string ‘abc.com ‘ from a string
info@abc.com" target="_blank">http://info@abc.com using
regular expression of php?
Answer Posted / harsh
$string1="info@abc.com";
$string2=split("@",$string1);
print_r($string2);
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the use session in php?
How can we access the data sent through the url with the post method?
Explain the difference between urlencode and urldecode?
Does wordpress run on php 7?
What is the use of Php variables?
How to protect special characters in query string?
Explain about PHP filter and why it should be used?
What is form submission?
What is __ construct in php?
How do you remove duplicates from an array?
Is array function in php?
What is constructors and destructors?
In php, how to redirect from one page to another page?
What are hooks in php?
Tell me in php, objects are they passed by value or by reference?