Curious, you mention that soo much could be improved and yet instead of providing that you pick on an early poster. You don't even mention why there won't be a performance increase (when I think in fact there would be.) Another benifit of compiling the regex is that it looks cleaner, they are obviously regex, now you don't shove them in a string first. ;)