How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / sathya
Use this coding
$variablename="http://info@abc.com";
$u=explode("@",$variablename);
$u2=$u[1];
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Is nan in php?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Tell me what is the use of isset() in php?
Why do we use hooks?
What is the use of namespace in php?
What is php stack?
Are php variables global?
Why do we use in php?
How many functions are there in php?
Explain what does the unset() function means?
What is the function of string in c?
How to replace a text in a string with another text in php?
What is php form validation?
What is ltrim?
How to set cookies in PHP?