Counting of Searched for Terms and Finding Duplicates
Posted: Sat Sep 25, 2010 11:15 pm
Hello.
I am presently using TextPad 5.0.3 (paid-version) on a Windows 2000 computer.
I recently volunteered to handle the constantcontact account for my church group. They have hundreds of people signed up for their monthly email newsletter and I am trying to clean up the code somewhat. Constantcontact must be powered by Microsoft FrontPage because it includes a LOT of excess HTML code. I have copied much code into TextPad and am trying to reduce the size of these emails. Anyhow, two questions come to mind, features that would make my task easier:
1) Is there a way to count words searched for? For example, I would like to copy a code block, or even the entire page, into a TextPad document, and do a search for opening DIV tags: <div>, as well as get a count of occurrences of this term. Then I would like to do a search for all closing DIV tags: </div>, and also do a count. That way, if there are a different number of opening tags than there are closing tags, I know a possible source of errors.
2) Is there a way to have TextPad find duplicate entries of a term? With hundreds of email addresses to keep track of, I would like to copy the list into a TextPad document and simply have it flag all duplicate entries. Is that possible, without having to manually conduct one search after another to check if addresses are not entered somewhere down the list?
--- Michael
I am presently using TextPad 5.0.3 (paid-version) on a Windows 2000 computer.
I recently volunteered to handle the constantcontact account for my church group. They have hundreds of people signed up for their monthly email newsletter and I am trying to clean up the code somewhat. Constantcontact must be powered by Microsoft FrontPage because it includes a LOT of excess HTML code. I have copied much code into TextPad and am trying to reduce the size of these emails. Anyhow, two questions come to mind, features that would make my task easier:
1) Is there a way to count words searched for? For example, I would like to copy a code block, or even the entire page, into a TextPad document, and do a search for opening DIV tags: <div>, as well as get a count of occurrences of this term. Then I would like to do a search for all closing DIV tags: </div>, and also do a count. That way, if there are a different number of opening tags than there are closing tags, I know a possible source of errors.
2) Is there a way to have TextPad find duplicate entries of a term? With hundreds of email addresses to keep track of, I would like to copy the list into a TextPad document and simply have it flag all duplicate entries. Is that possible, without having to manually conduct one search after another to check if addresses are not entered somewhere down the list?
--- Michael