To replace dot(.) from the string

5
Hi Everyone, I tried to replace the ‘.’ from the string ‘01.03.2021’ with ‘-’. But unfortunately, it is replacing all the characters from the string. Example: ‘01.03.2021’ → ‘-----------’ Image for reference  
asked
1 answers
6

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

answered