S
Shapper
Hello,
I need to convert strings as "4.32%" or "4,32%" to "4 32 percent". So I am using:
Regex.Replace(value, @"\s*%\s*", " percent ").
This fails because "4.32%" or "4,32%" does not become "4 32 percent" but "4.32 percent".
I would like to have this done only with Regex.
How can I do this?
Thank You,
Miguel
I need to convert strings as "4.32%" or "4,32%" to "4 32 percent". So I am using:
Regex.Replace(value, @"\s*%\s*", " percent ").
This fails because "4.32%" or "4,32%" does not become "4 32 percent" but "4.32 percent".
I would like to have this done only with Regex.
How can I do this?
Thank You,
Miguel