You would think so, but in the case of back to back line feeds, it doesn't like a replace of two cr/lf's in a row. So, you have to do the double LFs and single LFs separately. But, once all the LF's are replaced with the appropriate cr/lf combos, it all formats perfectly. Now, I am sure the vendor of the source db will change it in the future and f me up, but at least I will know why.