I need to loop over a file with a few 10's of thousands of lines and 
replace the 7th and 8th characters{08} with two other characters {42} in 
each and every line.

Is there some slick way to do this with regex or some other mechanism?

Or do I just loop over the file, chop each line into several pieces and 
concatenate it back together with the proper values in the proper places?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302992
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to