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 the use of explode() function?
How do you compare strings in java?
How are sessions maintained?
What is composer install?
What is serialization in php?
Tell me what is the meaning of a final class and a final method?
What are the string function in php?
What is the purpose of pear in php?
Why is php used for web development?
Can php run without apache?
Explain preg_Match and preg_replace?
How cookies are trported from browsers to servers?
What is the difference between get and post method in php?
Is php a float?
What is the basic syntax of Php?