So in a listwidget, you'd need to first find all tiddlers that contain the string, probably by using the contains filter operator.
Then extract the text from these, e.g using get[text] filter operator or perhaps [{!!text}]
Then for every point that you define as the beginning or end of the line, use some split operator.
Then search for the string again in each line with a regexp or contains or some such filter operator.
And that's basically it.
But, beware, I did ask for how you define a "line" because you'll want to capture all cases.
I suggest you give it a go Ray and you will most likely get support here on the boards.
<:-)