1

Given a string abcde
I want to get matches like so: abc,bcd,cde

I have tried this ((.)(?=..)) but it gives me aaa,bbb,ccc

IC_
  • 1,273
  • 1
  • 19
  • 42

0 Answers0