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 laravel frontend or backend?
What is the difference between a session and cookies?
What is a query in a database?
Explain the difference between array_merge() and array_combine()?
Which function will you use to create an array?
Is null empty php?
Is php 5.6 secure?
Which function is used in php to search a particular value in an array?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
What is advanced php programming?
What is php ci?
What is php's mysqli extension?
Explain how to run the interactive php shell from the command line interface?
What is the difference between md5(), crc32() and sha1() crypto on php?
Name and explain five of the PHP error constants?