- This topic has 8 replies, 5 voices, and was last updated 15 years, 3 months ago by .
We are receiving XML with decimal fields, where the minus sign is at the end of the field:
I want to use a regsub to change all occurences into
I already have one that works:
regsub -all — “(>)(.*)(-)(<)" $msg "\1\3\2\4" msg But this also works for character fields ending with a minus sign, like:
So I would like to have a check that there is a decimal involved. I have tried a lot, but I can’t get it to work. Regular expressions always outsmart me…
Anyone have a clue?
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
- The forum ‘Cloverleaf’ is closed to new topics and replies.