While I'm Okish at RegEx, I'm struggling with something that seems simple but is making my brain explode a touch
a set of numbers which could be up to 11 'groups' but more usually 5-6
for example
12 5.1 5 12 2 1
If I know there are 6 numbers I can copy
the set of numbers, Search System Clipboard Using Regular Expressions
to find
([0-9.]+] ([0-9.]+] ([0-9.]+] ([0-9.]+] ([0-9.]+] ([0-9.]+]
Setting each group as a variable one, two, three, four, five, six
Then I want the sum of those numbers to be calculated and pasted over them
Insert Text %Calculate%one + two + three + four + five + six% by Pasting
Which works fine.
But how can I calculate the number of numbers and turn them to variables? Or am I over complicating?