House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Regular Expressions (RegEx)

Finding name and email in forwarded mailmessage

Author:
Peter Boughton
02/11/2009 05:40 PM

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.


Search regex

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29