How can we extract string ?allinterview.com ? from a string
?http://info@allinterview.com? using regular expression of PHP?
Answer Posted / jcb.chl
<?
$str = substr('http://info@allinterview.com?',12);
echo $str;
?>
output:
allinterview.com?
Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Explain about PHP filter and why it should be used?
What is a substring in php?
How to access a specific character in a string?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
Is php developer in demand?
What does the arrow mean in php?
Explain the difference between $message and $$message?
Do while loops php?
How could I install codeignitor ?
What should be the length of variable for SHA256?
For image work which library is used in php?
What is the name of scripting engine in php?
Where are cookies stored php?
How many keywords are there in php?
Distinguish between urlencode and urldecode?