I have a String which has numbers and I want to add this sign “:” between every two numbers as if the string was 0123456789 I want it to be like this 01:23:45:67:89
Is there any way to insert it ?? as I read about replace() but this does not help in my case
You could use this magic piece of regex:
.{2}match 2 characters(?!$)not at end$0:First matched argument with:included