Hmmm, I've just re-read what you're trying to do, and I've actually answered a different question - sorry! :S
I don't have much time right now, but as a quick thought, give this a go: <cfset Data = query.textBody.split( '(?i)\s+(?=_+|(From|Sent|To|Subject):)' ) /> <cfdump var="#Data#"/> Not 100% sure if that'll work as intended, but give it a go. If not, I'll see about coming up with something better tomorrow. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1223 Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
