I need to find a regular expression that retrieves every possible pair of numbers that are together in a string.
I have tried with /\d{2}/g
and /[0-9][0-9]/g
and it burns the char after it matches it once.
input: "1234567890"
output with the regexp up there: ["12", "34", "56", "78", "90"]
required output: ["12", "23", "34", "45", "56", "67", "78", "89", "90"]