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
How to pass variables by references?
how to use http headers inside php? Write the statement through which it can be added?
What is use of count() function in php?
How to set a value in session? How to remove data from a session?
Tell me how is it possible to remove escape characters from a string?
What is instantiation?
Tell me what type of operation is needed when passing values through a form or an url?
What are the correct and the most two common way to start and finish a PHP block of code?
What does session start do in php?
When use javascript vs php?
What is stripslashes php?
Can php use gettext?
Does https prevent csrf?
What does isset() function?
How many functions are there in php?