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 the difference between $message and $$message?
Tell me how comfortable are you with writing html entirely by hand?
Which programming language does php resemble to?
What is laracast?
What is a trait in php?
What the limitation of header() function in php?
What is oops php?
for image work which library?
What is include in php?
How is it possible to return a value from a function?
How to define a user function?
What is null value in php?
Tell me what is the use of mysql_real_escape_string() function?
How are cookies created?
What is return value in php?