Hi @MathieuF,
I see you are writing your expression in the dynamic content tab (contenu dynamique). Have you tried it in the expression tab instead?
If that still does not work, you could try this workaround:
1. Select your field first in the dynamic content tab.
2. After that use the peek code feature in the settings of the action
3. Copy the code reference of the field
4. Go back to the action. Click into the Expression tab this time. Type replace() and copy past your field code reference within the parentheses.