Paul, On May 21, 2005, at 9:01 PM, Paul Novitski wrote: > Shawn, > > Thanks very much for taking the time to help. I blush to confess that > it's not actually JavaScript I'm using but PHP Your email got me thinking (I do a fair amount of php) that someone must have done this already. I found these two php html parsers, but I can't evaluate their usefulness for your purpose. <https://sourceforge.net/project/showfiles.php?group_id=91649> <http://phpclasses.mirrors.nyphp.org/browse/package/1420.html> hth Roger, Roger Roelofs Know what you value.