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 / harsh
$string1="info@abc.com";
$string2=split("@",$string1);
print_r($string2);
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write a program to find a string is palindrome or not?
What is the use of curl()?
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
What is the use of strip_tags() method?
Why die is used in php?
Tools used for drawing er diagrams?
Tell me what is mean by an associative array?
Are php session secure?
What are the features of php?
Which php function will attach one file to another?
What is csrf token and how it works?
How we can get the number of elements in an array?
Do while loops php?
Explain setcookie() function in php?
How do I stop php artisan serve in windows?