Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / esorimer
preg_replace("/(.*)@(.*)/","\1",$string);
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain briefly about a search-friendly site looks like?
What is a persistence cookie?
Are objects passed by value or by reference?
How to remove an empty directory?
How do I sort numbers in php?
How to get the position of the character in a string in php?
What is the goto statement useful for?
What library is used for pdf in php?
Why should I store logs in a database rather than a file?
What is the use of nl2br() in php?
Why and where do we use htaccess?
What are different types of errors available in Php?
What is compact function php?
Can I learn laravel without php?
What is artisan in php?