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
What is putenv?
Write the statements that are used to connect php with mysql
How do you check if a variable has been set in php?
What software is required for php?
What are the different tables(engine) present in mysql, which one is default?
Explain the difference between $var and $$var?
What is the importance of "method" attribute in a html form?
What are headers in php?
Is php faster than python?
Tell us how can we display the output directly to the browser?
Is php front end?
What is static method php?
How do I update php?
What is $globals php?
How do I display php errors?