I have a form from which I'm trying to sanitize the text fields. For this, I put every invalid characters in an array variable, and I wanted to apply to each field a replace() expression, in which I get rid of the invalid chars. I have achieved this so far with this tutorial : https://www.alanps1.io/power-platform/flow/flow-stripping-unwanted-characters-or-special-characters-...
The problem is, the first parameter of the replace() expression has to be a string, and my fields are all returned in an Object. I don't know how I can achieve this. I was thinking of maybe putting all the fields in an array, and then looping through it to change every field one by one, but I'm not sure if that's right. Does anyone know how to achieve this ?
Can you show us an example of the Object you are using?
Is it a JSON Object or what?
Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.