How can we extract string ?allinterview.com ? from a string
?http://info@allinterview.com? using regular expression of PHP?
Answer Posted / pinky
if (ereg("allinterview.com",
"http://info@allinterview.com", $temp) )
print $temp[0];
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is meant by ‘passing the variable by value and reference' in php?
What is the use of mysql_fetch_assoc in php?
What is sticky form in php?
Do csrf tokens expire?
What is binary safe function in php?
How does php serialize work?
What is var_dump function in php?
How to update memcached when you make changes to php?
What is php static function?
What are the functions to be used to get the image's properties (size, width and height)?
What is the latest version of php?
What is the purpose of the '.myi' file extension? What do thes file contain?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
How to convert the first character to upper case?
What is the use of limit in mysql?