I have a comma-delimited list of words in a text document. I have basically just removed all the punctuation from a novel, so there is a lot of instances of the same words.
I can’t find out how to use regex to leave just one instance of every word.
I’m using Editpad Lite 7.
Could anyone give me advice on how to do this. (If possible at all).
Assuming you have a text that is a comma-delimited list of words like:
and you want to remove duplicate words so that the resulting text is:
I don’t think you will be able to do this using regular expressions in Editpad Lite 7. Your best bet is to use a programming language to accomplish this. Here is a simple example using PHP: