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
How break and continue while loop in php?
What is the alternative structure for control structures?
What is prepared statement in php?
What is the importance of parser in php?
How does php work with apache?
What is string and its function?
List few sensible functions in PHP?
What is php explain how php works?
Why many companies are switching their current business language to php? Where php basically used?
How to include variables in double-quoted strings in php?
Is empty in excel?
Name and explain five of the PHP error constants?
What are sql injections, how do you prevent them and what are the best practices?
Who created numbers?
Explain what is the difference between $var and $$var?