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 Get the Uploaded File Information in the Receiving Script?
Is it difficult to learn php?
What are the functions for imap?
Tell me how is it possible to parse a configuration file?
Is numeric in php?
How can I prevent sql-injection in php?
What is the default session time in php?
Explain me what is the w3c?
Explain do you use composer? If yes, what benefits have you found in it?
How send email in php?
What is the use of print_r function in php?
What is php.ini & .htacess file?
What is varchar mysql?
What is php and sql?
What are the benefits of using php and mysql?