How to select specific characters and replace them

How to select specific characters and replace them

Hello All i need some help

Consider the folowing html:

<div class="date">2010-01-30</div>

Using the . replaceWith Method how can I select the " -01- " and replace with "<span>JAN</span>" 

Thankyou