Regex to match consecutive identical characters. Then replace each match with <character><no of occurrence> Eg: "Hello" will yield "H1e1l2o1"
<character><no of occurrence>