JavaScript Regex Grouping Replace

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