michoel
04/06/2020, 10:55 PM?matches tests if the entire string matches the pattern. ?replace will work even if a portion of the string matches. If you change the regex to include the part before the decimal it will work. ${"1.0"?matches(r".+\.(0*)$")?c}