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
What is mvc in php?
Why php 7 is faster?
How to find the length of a string?
What is difference between core php and framework?
Tell me how can we automatically escape incoming data?
What are the two types of variables?
How does firefox manage cookies?
What is the Pipe Symbol represented?
What is difference between strstr() and stristr() in PHP?
What is uniqid php?
Xplain is it possible to use com component in php?
Which library is used in php to do various types of image work?
How to split a string into array using php?
What is x+ mode in fopen() used for?
What are session variables in php?