This should produce what you want (or darn close):[snipped code example]
Thank you John,
I still don't understand regualar expression, but your suggestion provided enough insight that I am able to work out the rest of what I want.
Cheers, Lee O'Mara
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php