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
/temp is a type of filesystem directory. State Whether True or False?
Write a program in php to reverse a number?
Does mysql need php?
How to write in a file in php?
What is a comment in php?
How to select a database in php?
How to set cookies in PHP?
What are form input html tags?
What is laravel php?
Tell me which programming language does php resemble to?
What is difference between md5 and SHA256?
How can you tell if a number is even or odd without using any condition or loop?
Explain briefly about a search-friendly site looks like?
What is the use of the function htmlentities?
Explain me soundex() and metaphone()?