Change div to span

Hi all

Is it possible to change just the start and closing tag without effecting the content.

Can I change

Code:
 <div><img src="image.jpg" alt="image desc." title="image title" /></div>
to this

Code:
 <span><img src="image.jpg" alt="image desc." title="image title" /></span>

The content of the div might be longer so I just want to change the start and elements.