• First things that pop in to my head:

    1. CTE to identify occurrences of the desired string part

    2. Table valued function using the CTE and then using CROSS APPLY

    Perhaps others have better ideas?