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 the difference between associative array and indexed array?
What type of comments are supported by PHP.
What is full form of php? Who is the father or inventor of php?
What is the role of php.ini file?
What does trim () do in javascript?
What is trait in php?
Explain Type juggling?
How can we pass the variable through the navigation between the pages?
What are major variables in research?
What is php session id?
what is the use of include_once in php?
What is difference between php and wordpress?
What is the use of $_request variable?
What is the use of curl()?
What are the functions to be used to get the image's properties (size, width and height)?