You might try using Hal Helms custom tag called querysim.  I remember
reading something about it in his newsletter (which, if you do not receive,
you should).  It sounded like it could do almost exactly what you are
looking to accomplish without the headaches.

Just a thought,
Russ

-----Original Message-----
From: Michael T. Haynie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 9:21 PM
To: Fusebox
Subject: regular expression help



Hi folks.

I'm having the worst time using a regular expression to parse a text file. I
need to remove all non numeric character [A-Za-z], and all numbers except
the actual data table. I just need to get rid of the text headers and the
text/num footer. With my code I can almost get there, but the CRLF need to
be replaced in it. I have attached the text file if anyone is interested in
helping.

the data now looks something like this

Blah blah lots of text

a       b       c       d       e
df      fdk     kl;     kjk     jkl
---     ---     ---     ---     -----
1.23 1.231      1.231   1.232   1.3232
1.55 1.363      1.232   1.545   1.2121

--------------------------------
lots more useless text plusa phone (555)555-5555


I need to strip everything but the actual data table so I can cfhttp the
columns and use the data.
Thanks in advance,
Michael T. Haynie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to