Core APIs
Text
Multi Replace
1 min
replaces all the occurence of a text in a given input text with a provided replacement text performs multiple replacements as defined api definition { "tab" "examples", "url" "https //orca pathfix com/functions/text/multireplace", "name" "multireplace api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "d3q6egiilk6pc7alvnk8x", "code" "{\n\t\\"output\\" {\n\t\t\\"furniture\\" \\"we need to totally replace our old furniture\\",\n\t\t\\"secretary\\" \\"we replaced the secretary\\"\n\t}\n}", "language" "200" }, { "id" "ruxghmzdexjffbgsdmim6", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "d3q6egiilk6pc7alvnk8x" }, "examples" { "languages" \[ { "id" "ettrtacw4moohn6 34z3x", "code" "{\r\n\t\\"furniture\\" {\r\n\t\t\\"input\\" \\"we need to completely replace our old furniture\\",\r\n\t\t\\"oldstring\\" \\"completely\\",\r\n\t\t\\"newstring\\" \\"totally\\"\r\n\t},\r\n\t\\"secretary\\" {\r\n\t\t\\"input\\" \\"we replaced the manager\\",\r\n\t\t\\"oldstring\\" \\"manager\\",\r\n\t\t\\"newstring\\" \\"secretary\\"\r\n\t}\r\n}", "language" "json" } ], "selectedlanguageid" "ettrtacw4moohn6 34z3x" }, "description" "call the following api to replace multiple values with replacement text", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }