M
Mark_B
I am trying to replace any occurance of minus-point "-." with
minus-zero-point "-0."
My regex: Regex repoint_num = new Regex(@"\-\.");
My data: string xyz = "-.9";
My command: repoint_num.Replace(expr, "0.");
The match is detected but the replace does not occur.
I'm stupid I know, but how do I correct this?
minus-zero-point "-0."
My regex: Regex repoint_num = new Regex(@"\-\.");
My data: string xyz = "-.9";
My command: repoint_num.Replace(expr, "0.");
The match is detected but the replace does not occur.
I'm stupid I know, but how do I correct this?