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
How can cross site request forgery csrf be prevented?
Does https prevent csrf?
What are the differences between GET and POST methods?
How do I install php?
What is php beginner?
Do you know what does $globals means?
Do you have to initialize variables in php?
Tell me what is mean by an associative array?
How do you measure variables?
What function do we use to find length of string, and length of array?
What is the difference between explode () and split () functions in php?
What is xss in php?
What does $_ post mean in php?
What is php and what does it do?
What is the difference between apache vs niginx?