Insert an element before and after substring
===

How would you insert substrings between <span> elements using regular expressions or an alternative form in javascript/jQuery?

For example I have the following string:

> "This is a string 015 with numbers 1486453 randomly 10 inserted
> between words 0954"

If my regex is to find all numbers, the result would be the following:

> "This is a string <span>015</span> with numbers <span>1486453</span>
> randomly <span>10</span> inserted between words <span>0954</span>"