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
Explain about the connective abilities of the PHP?
What is the difference between javascript and php?
Explain array_uintersect()?
What enctype is required for file uploads to work?
What is PHP's configuration file called?
How many escape sequences are recognized in double-quoted strings in php?
How to access a specific character in a string using php?
How to make a class in php?
How long is csrf token?
Which is better get or post method?
What are the final class and final method?
What is the difference between session_unregister() and session_unset()?
Do you know what's the difference between __sleep and __wakeup?
How to delete an element from an array?
Does php have multiple inheritance?