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's the difference between accessing a class method via -> and via ::?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
What are php magic methods?
What is data abstraction in php?
What is framework in php?
List few sensible functions in PHP?
Is php session id unique?
Why do we use htaccess
Tell me what are the __construct() and __destruct() methods in a php class?
Which framework is best for php?
Which is correct about mysqli and pdo?
Is it easy to learn wordpress?
How to insert an new array element in array?
What is a variable cost example?
What is difference between action hook and filter hook?