Hi,
Try adding a \ before the .
Mendix uses the Java regex patterns in the replaceAll function. More info can be found: https://docs.mendix.com/refguide/string-function-calls#13-replaceall.
Cheers,
Jeffrey