Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 14, 2006, 2:23 pm
rate this thread
Got a project that needs some text added to multiple text files every
X number of characters or X number of lines (not sure which will be
So start with a set of large text files, want every say 5,000
characters the text <this is the text to add> added. If a file has
32,000 characters the text <this is the text to add> will be added 6
times. If I go with lines same sort of concept.
Looking for some kind of search and replace program or maybe a script
that can do this?
A script might be better since I can then specify where not to cut
into a line of text (if counting characters), so rather than adding at
exactly 5,000 characters, add it around 5,000 characters as long as
say a full stop (.) is there (so add after next full stop).
SEO Tutorial http://www.seo-gold.com/tutorial /
More Earnings Blog http://www.morearnings.com /