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 to find current date and time?
What is difference between require_once(), require(), include()?
Tell me what is the difference between get and post?
Explain me differences between get and post methods?
What are objects in php?
What are the differences between GET and POST methods?
How does php sessions work?
What is the most convenient hashing method to be used to hash passwords?
How do you clear environment variables?
Is not null mysql?
Explain what does $_files means?
What is a model in php?
How to add comments in php?
Is php procedural or oop?
What is use of count() function in php?