Finding the string is not a huge problem, but replacing it is if you want
to retain whacko formatting overrides mixed in like fruit in Jello. It's
easier for me 'cause I disdain the formatting overrides and have the
UNFORMAT function (which anyone may have).
I was thinking that the best way to show the findings (and even to find
them) would be to temporarily explode the mtext into separate pieces of
text, highlight them in any number of ways, and then either reassemble them
or Undo the explosion. Of course you could explode a copy of the mtext and
not have to Undo. But exploding would lose both the "\n"s and the "\P"s,
so maybe it would be better to create a hybrid @str2list function that
separated strings by either/or. You could put the candidate strings in a
list_box too. Somewhere I think I created a horizontal slider function
that enabled scrolling to see the full contents of any line of text. I
guess that's where VBA and ObjectDCL have their advantages, or am I
forgetting some regular DCL capabilities?