Skip to main content

Notifications

Topic Creation & Management
Answered

”:“ replace with "

Posted on by
i have below json
{“$schema”:“​http://adaptivecards.io/schemas/adaptive-card.json",“actions”:[{“associatedInputs”:“none”,“data”:null,“title”:“Cancle”,“type”:“Action.Submit”},{“associatedInputs”:null,“data”:{“action”:“submitPreferences”},“title”:“Submit”,“type”:“Action.Submit”}],“body”:[{“choices”:null,“id”:“user_ip_icm_tkct_histroy”,“isMultiSelect”:null,“size”:“large”,“text”:"Select​ Link Status to get node details”,“type”:“TextBlock”,“weight”:“bolder”},{“choices”:[“{\u0022title\u0022: \u0022LinkUp\u0022,\u0022value\u0022: \u0022LinkUp\u0022},{\u0022title\u0022: \u0022SwitchDown\u0022,\u0022value\u0022: \u0022SwitchDown\u0022},{\u0022title\u0022: \u0022Misswire\u0022,\u0022value\u0022: \u0022Misswire\u0022}”],“id”:“preference”,“isMultiSelect”:true,“size”:null,“text”:null,“type”:“Input.ChoiceSet”,“weight”:null}],“type”:“AdaptiveCard”,“version”:“1.5”}
 
 
i want to replace ” with " and “ replace wit " and \u0022 with "
Categories:
  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 29,886 on at
    ”:“ replace with "
    Are you using a flow in your Copilot?
     
    If that is the case you could use an expression like the below:
    replace(replace(replace(variables('Json'), '“', '"'), '”', '"'), '\u0022', '"')
     
    The test result
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update 9/9/24…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,705

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics