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 ? | 23 Yes | 6 No |
Post New Answer View All Answers
Does facebook use php framework?
Why laravel is the best php framework in 2019?
What function do we use to find length of string, and length of array?
How do you end php?
How to remove all duplicate values in array in php?
What is the difference between mysqli_fetch_object() and mysqli_fetch_array()?
When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?
What is the difference between myisam and innodb?
Explain Booleans in PHP?
Are php short tags acceptable to use?
Why php was called as personal home page?
What are the uses of implode() function?
Tell me how can I display text with a php script?
Are php session secure?
What is the use of limit in mysql?