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
MultiReplace API
Call the following API to replace multiple values with replacement text
POST
https://orca.pathfix.com/functions/text/multireplace
{
"furniture": {
"input": "We need to completely replace our old furniture",
"oldString": "completely",
"newString": "totally"
},
"secretary": {
"input": "We replaced the manager",
"oldString": "manager",
"newString": "secretary"
}
}