Hi All,
I've found some solutions on this forum to replace unwanted characters from MS Forms, but am not getting far with removing the \n characters that get appended to multiple choice responses in MS Forms.
Here are some of the other posts that have helped me reach this point:
Here is a picture of my flow:

The compose function is using this expression:
replace(body('Get_response_details')?['re161b12e16c941ba887a822bf85f74d3'],'\n','')
I have also tried using the expression directly within the SharePoint update list item connector. In all cases, the replace function is simply ignored and the output is:
"Option1\n"
"Option2\n"
Etc...
This is a real dealbreaker because the data is being inserted into a SharePoint List calculated column and results in a line break, which breaks the calculated column formula.
Any help would be greatly appreciated.
Thanks.