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 convert a string to lowercase in php?
Differences between get, post and request methods ?
What php framework does wordpress use?
What does $_ post mean in php?
When sessions ends?
How can I load data from a text file into a table?
Tell me what type of operation is needed when passing values through a form or an url?
How to split a string into array using php?
Where is the submitted form data stored?
What is trim function in php?
What language is similar to php?
Explain what are psrs?
How can we access the data sent through the url with the post method?
Steps for the payment gateway processing?
What is stripslashes php?