How can we extract string 'abc.com' from a string
"http://info@abc.com" using regular expression of PHP
Answer Posted / nitesh kumar
you can use explode funciton
echo $site_array=end(explode("@","http://info@abc.com"));
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How to remove blank spaces from the string?
A process can run only in the background. State Whether True or False?
What is filter_var?
What is return value in php?
What is orm in php framework?
When to use inquire vs enquire?
What are the new features in php 7?
Is php used for frontend or backend?
How to set session.gc_maxlifetime properly?
How do you check if a variable has been set in php?
What is the difference between Split and Explode in PHP?
What is php? Why it is used?
Tell me what is the difference between exception::getmessage and exception::getline?
List some array functions in php?
How can we create a database using php?