I have a file with content in roughly this format:
“CGS00607″blahblahblahblah”CG00608″
blahblahblah”CG00607″blahblah”CG00608″blahblahblah
blahblahblahblah”CG00607”
I would like to match all occurrences of codes in the format CG00607 that come after an occurrence of CGS00607
I have tried using lookbehind-
(?<=CGS00607.*)CG00607
This matches only the first occurrence of CG00607 that follows CGS00607
Is there a way to tweak this so that it matches all the occurrences that come after CGS00607?
Thanks in advance