del-pls I asked the OP a number of times to improve the mcve, I even suggested a battery of strings. The OP has a comment that states that there is text on either side of the targeted substring. This invalidates the accepted and the highest voted answers. I can definitely answer this question, but it seems the OP is unable to express what they need and the question remains Unclear after multiple edits.
stackoverflow.com/q/51098155/2943403