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 / supriya
$str1="info@abc.com";
$str1=explode("@",$str1);
print_r($str1);
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the functionality of md5 function in php?
Is it possible to use com component in php?
Does browser understand php?
What are the different ways to login to a remote server?
What are the advantages of php?
What is final in php?
What is the difference between for and foreach?
How can you create a session in php?
What is session and why do we use it?
Why namespace is used in php?
How do you end a function in python?
What is a path Traversal?
What is regular expression in javascript?
what is constructor
Is php a mvc?