sed 's/<div>\(.*\)<\/div>/\1/g'
<div>a</div><div>b</div>
a</div><div>b
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!