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
What is php and why it is used?
How to create a directory?
What is faster?
Explain object-oriented methodology in php?
How a variable is declared in php?
What is lamp in php?
What is session in c#?
What are different types of Print Functions available in PHP?
Explain the advantages of using PHP?
What is config file in php?
Is age a variable in research?
How to update memcached when you make changes to php?
How can you send http header to the client in php?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
How to enable parsing?