Originally Posted By: Wims
How are you getting that variable with such a value?

You can use $regsubex(PTirc PTirc PTirc PTirc PTnet PTnet PTnet PTnet PTnet PTnet PTnet,/(\w+)(?=.*\b\1\b) */,)

Yes, I am getting this value in a variable, but I intend to remove all repeated words and that the final result is, it gets one of each.

Example. Final result: PTirc PTnet


TECO
irc.PTirc.org (Co-Admin)