Hey all -
So, here's the story -
I have many lines of text, split into rows. Several rows have a piece of information that is duplicating and I want to keep the first instance, but remove the rest.
Example:
Row 1: Jiojo GGHH jfioj GGHH jiojio.
Row 2: Bdejjjfeij GGHH ufuheuuihuifhiue GGHH fjiofjwefjoii GGHH
Row 3: Njidiikwl ojdijo idjwoji GGHH jiojooj GGHH ffjwofw.
Basically, I'm looking for a way to remove all but one instance of GGHH only per row.
Someone else already provided a code that works well for removing duplicates in a row, but I need to customize it to only remove instances of say, GGHH and leave the rest of the text alone.
Here's the code provided:
If anyone has any suggestions, I would be grateful!!
Thanks!
Bookmarks