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
What are the environmental variables?
Which cryptographic extension provide generation and verification of digital signatures?
What is echo in html?
Is learning php easy?
Is facebook still in php?
What is htaccess in php?
Can php variables have numbers?
What is is_null() in php?
What is the difference between associative array and indexed array?
What are php applications?
What is the use of trim function in php?
What are the steps involved to run php?
What is php explain?
How to open a file for writing?
What is the name of the scripting engine that powers PHP?