Your example seems to show 3 lines. Does your input string actually contains line breaks?
Anyway that doesn't matter much. Try this:
Local $sInput = "2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2," & @CRLF & "2,0,0,4,0,1,0,0,0,0,0,3,0,0,0,0,0,0,0,2," & @CRLF & _
"1,0,0,0,6,0,0,1,1,0,0,0,0,0,6,0,0,0,0,2," & @CRLF & "1,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,1,1,2,2"
ConsoleWrite(Execute("'" & StringRegExpReplace($sInput, "(\d+)", "' & $1 + 1 & '") & "'") & @LF)