I need to extract some words in a set of letters , ,
example
"gkshgksguvjvjvvjgvjgvjgvgdkguSTACKksbegkbeskbgksebgkbbOVERFLOWghbhjjhvjvjvjvjgvgjvgjvgjvgjvjgvgjvgjvgjvjgSTACKksbbbOVERFLOWvjvvvgjvgvgjvgjvgjvgjvvsdkgfkdgdgfdsgkhsdgdgfdsgffsdhkg"
I want to extract "STACKksbegkbeskbgksebgkbbOVERFLOW"
from the above text,number of letters between STACK and OVERFLOW can be vary.
if there are more than one satcks and overflows in the set of letters , I want to find them all with the letters inbetween those two words ,(and add them to an array)
each time , the number of letters in between STACK and OVERFLOW can be changed