Hey ... please give us a little more information about your application ...

Is this a Word document? Are all of your tags guaranteed to be on separate lines?

I haven't done many Word VBAs, but certainly this can be done. I can easily tell you how to do it in Excel ...