Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of mysql_fetch_array in php?

983


Is php developer in demand?

921


what does this symbol mean in php?

1099


What is the difference between == and === operator in PHP?

922


When to use get and post request?

967


Is PHP an open source software?

1011


What are the 3 types of sessions?

1001


How should a model be structured in mvc?

878


What is the use of trim in php?

937


Do you have to initialize variables in php?

905


Why would we use === instead of ==?

8798


Why do we use session?

970


Tools used for drawing er diagrams?

959


What is a variable cost example?

976


How to know user has read the email-php?

896