If I have an HTML string such as:
£2056 <
£2056
Just allow the group to be repeated: (?:...)+ means "Match ... 1 or more times:
(?:...)+
...
str.match(/\d+(?:<[^>]*>)+\d+/)
As per Alan Moore's suggestion, I've also changed the \d* into \d+, making the numbers required instead of optional.
\d*
\d+