Save formatted number in Firebase

My unique_ID that I created has CPF and I use it as my Tag. However, it is formatted and when I send it to save it gives an error because firebase does not accept special characters in the case of CPF. and -
To enter the system after registering, the user must enter the CPF.
How do I do in these cases?

Use this when storing value -
image

When getting value use uri decode

more info -

1 Like

Ok, but how to use this component in this code there. To be honest I don’t know where to put it. Both Encode and Decode. Would you help me?