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
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