Could anyone help out with regex expression I can run in node to change that changes only the letter that appears immediately after the dot(.) to lower-case? I am reading And writing back the changed text back to the same text file.
Input:
$.Carpool[0].NoofSeats], [$.Carpool[1].NoofSeats]
So after replace with regex the updated text file should be:
Desired Output:
[$.carpool[0].noOfSeats], [$.carpool[1].noOfSeats]