S
Schorschi
This one has got me bam-boz-ald! or however your spell it...
I have a sequence of text for example, "One Two Three Four Three Two
One Three", and I need a regular expression, if possible, to remove
the duplicates, so I would end with a string, "One Two Three Four."
1, "One" was removed, 1, "Two" was removed, 2, "Three" are removed,
and the single "Four" instance is untouched. If you notice, the first
instance of each word, is already in proper sequence. So, removing
the duplicates is done after the initial word is identified. Another
example is "10 8 8 5 3 7 10 9 8 5", with the result as "10 8 5 3 7 9."
Anyone try to do this before?
I have a sequence of text for example, "One Two Three Four Three Two
One Three", and I need a regular expression, if possible, to remove
the duplicates, so I would end with a string, "One Two Three Four."
1, "One" was removed, 1, "Two" was removed, 2, "Three" are removed,
and the single "Four" instance is untouched. If you notice, the first
instance of each word, is already in proper sequence. So, removing
the duplicates is done after the initial word is identified. Another
example is "10 8 8 5 3 7 10 9 8 5", with the result as "10 8 5 3 7 9."
Anyone try to do this before?