I have a string like....
<this>my name is <name>jonny</name><br/>i am <age>26</age></this>
I am trying to output an array like this...
=my name is
So each tag is in a new array element and the plain text is in its own array element
i have been messing around with regular expressions to try to extract it correctly but am just getting angry...
Does anyone have any ideas?