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 is ltrim?
Explain the changes in php versions?
What is use of count() function in php?
Explain the visibility of the property or method?
Can php run on windows server?
What are different types of Print Functions available in PHP?
What are the functions of string?
Explain mail function in PHP with syntax?
What is memcache?
What's the difference between using mysql_ functions and pdo?
How is it possible to set an infinite execution time for php script?
What are the differences between require and include?
Is php object oriented?
how can i develop forum code? any one pleale help me on this question
How can we display information of a variable and readable by human with php?