If you have JDK 1.4 or later, look at String.replaceAll(). Does that do what you need? It's a bit tricky to get regular expressions going some times. Let us know - post some code - if you have any trouble.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi