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
Which software is best for php?
What is session in PHP. How to remove data from a session?
Is it possible to extend the execution time of a php script?
Which Scripting Engine PHP uses?
Is wordpress a php framework?
How to open a file for reading?
Tell me what is the actually used php version?
What is inheritance in php with example?
Where is my php ini file?
What is member function?
Is php case sensitive?
How arrays are used in php?
How can we change the maximum size of the files to be uploaded?
What is the use of explode() function?
What is isset post?