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 take a substring from a given string in php?
How many different types of messages available in php?
What percentage of websites use php?
What is different between software and app
why did u want to leave your past organisation?
Explain what does $_server means?
CWD is a type of shell variable. State Whether True or False?
What are the benefits of using queries?
How can we get the error when there is a problem to upload a file?
What is printf in php?
What was the old name of php?
What is T_PAAMAYIM_NEKUDOTAYIM?
Explain about the $_GET variable of PHP?
Are objects passed by value or by reference?
Is rent a variable cost?