How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / sameer joshi
You can do like $site_array=explod("@","http://info@abc.com");
$site_addr=$sitr_array[1];
$site_addr will get the value as abc.com
Is This Answer Correct ? | 13 Yes | 7 No |
Post New Answer View All Answers
Which framework is best for php?
What is polymorphism?
Which function can be used to exit from the script after displaying the error message?
Is null check in php?
Explain how is it possible to cast types in php?
How are cookies created?
How to turn on the session support?
List the different types of print functions available in php?
Php being an open source is there any support available to it?
How big is nvarchar max?
What is laracast?
What is php static function?
How can you get the size of an image in PHP?
How to write in a file in php?
Which function is used to strip whitespace?