Off the top of my head, it looks like you need to replace the first (.+) expression in your regex with (.+?) so that it doesn't eat all the text up until the last ELEMENT that follows it.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."