I need a regex string that remove the duplicated characters that occurs more than 1 time.
for example :
eve -> e and v
eev -> e and v
i found one that like this : (.)(?=\\1)
that regex can remove duplicated characters that adjacent like : eev -> e and v
but that regex can not remove the second e after v in "eve" word.