I need a code that detects the repeated characters and replace the word with the original without repeating, i.e .:hooooooowwwwww areeeee yooooou
= how are youhiiiiiiii
I know there would be some problems with some characters like lowercase 'L' and so on but it doesn't matter.
Could someone help me with the code? I can't think of any way to do it.
I'm Sorry for my bad English.
Thank you very much!