I have a string like
<font color="#ffffff">Heippa </font><b><i><u><font face="Calibri" color="#e71818">rallaa</font></u></i></b>
And I need to get all color codes seperated in a array
['#ffffff','#e71818']
Is there a easy way to do this. I know you can use strrchr to find all # marks and substr($color, 0, 7), but that will print out only the last found mark.
Thank you for your advice.