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
What does $_env means?
What software is required to run php?
What is sticky form in php?
Why print_r is used in php?
Do you know what are traits?
What is an anti csrf token?
Tell me how to get the value of current session id?
What is difference between session_unset and session_destroy?
What is stdclass in php?
How are variables declared in php?
What are the different filter functions used to filter a variable?
What is memcache?
What is isset php?
How to get the length of string?
Can the value of a constant change during the script's execution?