I have a bunch of text I need to format via HTML, my main problem being that there's a bunch of digits at the beginning of certain words that I need to wrap with HTML tags. I'm trying to think up a vim regex that can help me achieve this but the furthest I've gotten is this:
:s:\(\d\):<sup>\1<\/sup>
This however only changes the first number in the line and not anything after that. Any ideas?