Extract portion of captured text

Not sure you ever saw the solution (below). I may not have replied correctly.