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 prepare in php?
What is php how it works?
Explain me what is the importance of "method" attribute in a html form?
What is the capacity of mysql database?
What are the different ways to login to a remote server?
How can we encrypt the password using php?
How to pass variables and data from php to javascript?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
How can you send email in php?
Name and explain five of the PHP error constants?
Which function is used in php to search a particular value in an array?
What is composer install?
What is php crud api?
How to generate a character from an ascii value?
What is user defined function in php?