I have a string in JavaScript and at some places corresponding to a regex (lower case followed by upper case), I would like to insert between upper and lower case the backspace character.
This is an example:
Manufacturer: SamsungWarranty: 12 monthsUnlocking: Any operatorIris scanner: NoScreen size: 5.7 inchesDisplay resolution: 2560 x 1440 pixels
It should become:
Manufacturer: Samsung
Warranty: 12 months
Unlocking: Any operator
Iris scanner: No
Screen size: 5.7 inches
Display resolution: 2560 x 1440 pixels