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
Does php 7 support multiple inheritance?
How can I display text with a php script?
What is an anti csrf token?
What is instantiation?
What are the special characters you need to escape in double-quoted stings?
Can you use both this () and super () in a constructor?
How to uploaded files to a table?
Tell me how comparison of objects is done in php5?
Do you know what are traits?
How send email in php?
How do you check if an arraylist is empty?
How easy is php?
Explain the difference between php4 and php5.
Starting or restarting a computer is called
Is php front end or back end?