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 access standard error stream in PHP?
Tell me what are the encryption techniques in php?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
Does php 5 support exceptions?
What is php oop?
Declare a new variable in php equal to the number 3;
What is echo and print in php?
Differentiate between require and include?
What is scope of variable in php?
How to make database connection in php?
What are helpers in php?
Explain me what are the 3 scope levels available in php and how would you define them?
What is session in c#?
Where do I run php code?
How many types of array supported in php?