try this one: rereplace(web_export, "(.[^,]*),[[:space:]]+(.[^\n]*)(.[^\n]*)[[:space:]]*(.[^\n]*)", "\1|\2|\4<br>", "ALL")
i used the <br> in replaced string to visually separate lines on screen. change it to \n or whatever you need to. cheers, Azadi -- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291735 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4