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
Xplain is it possible to use com component in php?
Can we use onclick in submit button?
Tell me what kind of things have you done on the social side?
How is the comparison of objects done in php?
What is self in php?
What is php in simple words?
What is the difference between characters 34 and x34?
How many escape sequences are recognized in single-quoted strings?
What is faster in php?
What is the difference between query and question?
Is php 5 still supported?
How can we change the maximum size of the files to be uploaded?
What is cookie and why do we use it?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
What is meant by session in php?