You're welcome, ohaithar. RusselB's and mine work pretty much the same in the functionality per se, but without the loop and the process steps using $remove and $gettok...I'd say my regex method is going to be faster. Again, I'm not criticizing RusselB's code. He's done a good job at getting your request fulfilled just as dandy.