I want extract several strings of X length that start with specific string ex: 'Peter was [and then can be anything]' from a large string into an array like this
$myString = "Today Peter was in the zoo doin son and so on,
yesterday Peter was with Karen eating so on and so on,
the day before yesterday Peter was dead jesus christ AND THE STRING KEEP GOING";
$theResult = [
'Peter was in the zoo....',
'Peter was with Karen....',
'Peter was dead....',
etc...
]
The clue string is Peter was, and then the rest can be anything many times