Solved

Find and Replace a list of strings in a text file?

Posted on 1999-01-10
2
128 Views
Last Modified: 2010-04-06
Hi,
I have a stringlist of whole words that are either all Upper Case, all Lower Case or all  first words are capitalized.
Now ,I want to find these strings (must be whole words) in a text file, check to see if the case matches the stringlist and if not change it to match.

Any ideas?
0
Comment
Question by:martin_g
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1355802
Use BREPLACE - a batch replace program - from dsp (http://sinsite.icm.edu.pl/delphi). Punch in breplace into the search engine to find it quick (or try this, but I'm not sure if it will work... http://ftp/d10free/breplace.zip).

Its free and has source.

Cheers,

Raymond.
0
 
LVL 1

Author Comment

by:martin_g
ID: 1355803
Thanks, that did the trick!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question