.*?
is what you need - as long as you don't have nested divs. If you do have them, give up and use an actual XML parser.
Switch on the "dotall" option though (check http://www.regular-expressions.info/dot.html and find out how to do that with your regex flavour).
Minor details up to you. :-)