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 reference variable php?
What are the method available in form submitting?
What are the different loops in php?
What is difference between base_url and site_url?
Declare a new variable in php equal to the number 3;
Is php harder than javascript?
What is difference between isset and empty in php?
Explain about a search-friendly site looks like?
How big is varchar max?
What is a php trait?
What is the use of php and mysql?
Tell me what is the difference between the functions strstr() and stristr()?
What language is php based on?
How many data types are there in php?
Do you know how to enable error reporting in php?