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
Does mysql need php?
Explain me how to include a file to a php page?
How to take a substring from a given string in php?
What is the use of header() function in php?
How to get no. of rows using MYSQL function?
What should we do to be able to export data into an excel file?
What are the differences between php constants and variables?
What does $_ post mean in php?
What is the difference between require_once and require in php?
How to convert numbers to strings in php?
What are the two most common ways to start and finish a php block of code?
What is difference between count or sizeof function in php?
What is mysqli php?
How long is session timeout?
What type of headers that PHP supports?