hello, I have 15 rows with 7 numbers, from 1 to 50. How can I match the 4 numbers that are repeated most often in all those 15 rows?
I suppose I must first select all numbers \d+
then, I have to divide all 2-digit numbers \b[1-9]{2}\b
by all 1-digit numbers \b[1-9]{1}\b
or, I should select all numbers from 1-10
, then all numbers from 10-20
…and from 40-50
I don’t know exactly, there should be a mathematics formula. In Excel I can use filters for this, or Sort from lowest to highest, etc, and also I have the option with unique and duplicate values.
But how can I do this with regex in sublime?