Given text with several numbers such as
showing 1 - 20 of 25 records
how could I use a regex to extract all the numbers? I would like an expression we could easily use with 'n' numbers.
I can simply use
\d
to identify the three numbers, but then I am stuck on how to pick each.
So far, I have
\b\d\b
for the first, and
(\d+)(?!.*\d)
for the last, but I can't figure out the middle.