I'm trying to find multiple consecutive digits through regex in javascript
Let's say I've got:
12345abc123
I want to know how many times I've got 3 or more consecutive digits. Right now I'm using:
/\d{3}/g
But that gives me: 123, 123 and I want to have: 123, 234, 345, 123
How can I change my regex to get want I want?