How to increment the index in the existing string?

I have a following string value and I want to increment index in the string as below. { “name”: “poc_param_model_001”, “type”: “DOUBLE”, “role”: “MEASURE”, “seq”: 1 } Here is what I want to do. { “name”: “poc_param_model_002”, “type”: “DOUBLE”, “role”: “MEASURE”, “seq”: 2 } { “name”: “poc_param_model_003”, “type”: “DOUBLE”, “role”: “MEASURE”, “seq”: 3 } {…

Details