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 use of preg_replace in php?
Why php was called as personal home page?
How is session id stored in browser?
Is apache needed for php?
Is multilevel inheritance possible in php?
What is singleton class in php?
What is the difference between php and core php?
What is the use of final class in php?
How to convert a json string to an array in php?
Can I learn php in a month?
In php how can you jump in to and out of "php mode"?
Tell me how do I escape data before storing it into the database?
How to execute a php script from the command line?
Which parts of php are case sensitive?
Why is used in php?