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 / simlu_irtt
$string1="info@abc.com";
$string2=split("@",$string1);
print_r($string2);
this code print the string as abc.com
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How is it possible to know the number of rows returned in the result set?
How do I update php?
Does php have a future?
Explain what are the two main string operators?
which will print out the php call stack?
Which function would you use to determine the length of a string in php?
What does $_cookie means?
What is the use of friend function in php?
What percentage of websites use php?
Can I use php in html?
Can I learn php without knowing c?
How will you calculate days between two dates in PHP?
What is the use of inner join in mysql?
explain php variable length argument function.
Why is node js better than php?