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
Does php 7 support mysql?
What php framework does wordpress use?
What are include() and require() functions?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
Why is overriding runtime?
What is interface? Why it is used?
How check field is empty or not in php?
What are some new features introduced in php7?
How to insert a line break in php string?
What is meant by variable variables in php?
Why session is required?
Please explain is it possible to use com component in php?
Are objects passed by value or by reference?
How to create a text file in PHP?
What is the difference between for and foreach loop in php?