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
Why is overriding runtime?
What is the method to execute a php script from the command line?
Why print_r is used in php?
What are the differences between require and include?
What is class extend in php?
What are php keywords?
Can you define an argument as a reference type?
How to check your php installation?
Do you know what's the difference between __sleep and __wakeup?
What is the content of /etc directory?
Which database is best for php?
Is php easier than node?
How does php isset work?
What is get and post method in php?
Where sessions stored in PHP?