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
How to execute a function in php?
Write a program to display table of a number using php?
Explain setcookie() function in php?
Write syntax to open a file in php?
What are session variables in php?
What is isset in php?
What is the use of stripslashes in php?
How failures in execution are handled with include() and require() functions?
What is the use of 'print' in php?
What is printf in php?
What is difference between single quotes and double quotes in php?
What is the difference between exception::getmessage and exception::getline?
How to assigning a new character in a string using php?
How does php strcmp work?
Can php run on windows server?