This is awesome and will be super helpful. Thank you so much.
At the risk of being greedy, a further challenge:
Is there any way to have it grab the character-styled bits text box by text box on a page rather than by story so that they are all in order in the resulting list?
So, in the phone number example, say I have one threaded story containing phone numbers running across all pages, but also have a sidebar with unthreaded text frames (or in my real-life case, anchored text boxes) that contain phone numbers. The current script grabs phone numbers from the long threaded story first, then goes back and grabs them from the sidebar items, so that the resulting list is not in the same order as the phone numbers appear in the doc. Can it grab all of the phone numbers from page 1, then all of the phone numbers from page 2, etc?
Again, I know I'm being greedy, so don't even think about it if this sounds like no fun. Given your quick reply, however, I suspect you might have another easy solution up your sleeve… Thanks!