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 / simlu_irtt
$string1="info@abc.com";
$string2=split("@",$string1);
print_r($string2);
this code print the string as abc.com
Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
Where is php code written?
Which is useful for method overloading?
Is php better than python?
Applications written to provide a GUI shell for Unix and Linux are called
What is the goto statement useful for?
How would you determine the size of a file in php?
How to find the index of an element in an array php?
Where are sessions stored php?
Is php session id unique?
What is putenv?
Why do we use php?
Is php a strongly typed language?
How do you destroy a particular or all Sessions?
What is difference Between PHP 5 and 7?
Does php have block scope?