1 2 Previous Next 18 Replies Latest reply: Sep 12, 2008 1:07 AM by 800282 Branched to a new discussion. RSS

    Remove Duplicates from String Array with Regular Expressions

    807589
      I want to be able to use the Java regular expressions to eliminate duplicates from a string array. I also need to retain the order of the items.

      For example:

      (1,1,1,5,5,3)


      Should return

      {1,5,3}
        1 2 Previous Next