Regex: Many lines with same word, grab until line with 1st occurrence

@Anonymous2 - have a look on below article - it will help you for sure! having similar example of yours.