Gregg and Richard,
I think Gregg is right. I tried using the (RX) functions thinking there was
something within them that would work but no such luck. However, I do not
totally understand the (RX) functions so I could be wrong here.
Too bad, there isn't more documentation (especially EXAMPLES) of these
functions as I believe there is a great wealth of usefulness but not
apparent to the nake eye.
I think Gregg's solution maybe one of the better answers.