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 ? | 6 Yes | 2 No |
Post New Answer View All Answers
Is php a float?
How do you check if a variable has been set in php?
How do we get the current session id?
Where is php code written?
What is a class in php programing?
How many types of inheritances used in php and how we achieve it.
What is variable declaration?
What is exception handling in php?
Write a program using while loop in php?
How can we set and destroy the cookie in php?
Tell me how is it possible to propagate a session id?
What is array filter php?
Tell me what are the correct and the most two common way to start and finish a php block of code?
How many php functions are there?
What is list function with their uses.