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 scope of a variable defined outside a function?
What is php and how do you use it?
What are different types of errors available in Php?
How does session work in php?
for image work which library?
What is the current php version?
What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What is the meaning of a final class and a final method?
What is constructors and destructors?
What are the advantages of indexes in php?
Tell me what is the difference between exception::getmessage and exception::getline?
Is php front end?
What is the use of array_search() in php?
What is the use of Php variables?
Is facebook still in php?