JavaScript Regex Grouping Reemplazar

"hello _there_".replace(/_(.*?)_/, "<div>$1</div>")
Ansary