Sure:

<CFSET regex="1USER REF. 123 THIS FORM PRODUCED BY EQUIFAX PAGE
[[:digit:]]+">
<CFSET foo=REReplace(foo,regex,"","ALL")>

Also, check out Jeffrey Friedl's book "Mastering Regular Expressions".  I
own a copy -- it rocks.  :)  ISBN 1-56592-257-3, priced at $35 retail.  If
you don't want to spend money, check out Perl's regex documentation.  It
rocks, too.  :)

http://www.oreilly.com/catalog/regex/
http://www.perl.com/pub/doc/manual/html/pod/perlre.html

-Rick

-----Original Message-----
From: Marcus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 5:47 PM
To: Cf-Talk
Subject: regex, or something...


I'm getting a text report from a company. Problem is, they number the pages.
Is there a way to scan a text file and remove text that will always say...

'1USER REF. 123                    THIS FORM PRODUCED BY EQUIFAX
PAGE    1'

Except the page number will augment sequentially.

Marcus

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to