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 types of MYSQL function available for affecting columns
Code to open file download dialog in PHP?
How do you display the output directly to the browser?
Explain about require and include function?
How to read one character from a file?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
Is php still in demand?
How is it possible to cast types in php?
How long is a php session valid?
What are the difference between overloading and overriding in oops?
What is the latest version of php?
Write a program to get lcm of two numbers using php?
How break and continue while loop in php?
What is difference between web service and api?
How can you send email in php?