Core APIs
Text
Replace
2 min
replaces all the occurrence of a text in a given input text with a provided replacement text property description oldstring this is the search pattern and can be an alphanumeric text or a valid regex expression set the regex parameter to "yes" if this contains the search pattern in regular expression format newstring the exact replacement value if the search pattern is found regex set "yes" if the oldstring contains a valid regular expression pattern api definition tab examples url https orca pathfix com functions text replace name replace api method post request pathparameters queryparameters headerparameters bodydataparameters formdataparameters results languages id 6ua3gyejdn ouz x6bdxk code n t output we need to totally replace our old furniture n language 200 id rs0tqihdh67vog3 kv9a0 code n message error n language 404 selectedlanguageid 6ua3gyejdn ouz x6bdxk examples languages id kk9rskmqsjdpj4sto2zqf code r n t input we need to completely replace our old furniture r n t oldstring completely r n t newstring totally r n language json selectedlanguageid kk9rskmqsjdpj4sto2zqf description call the following api to replace values with replacement text currentnewparameter label body parameter value bodydataparameters api definition tab examples url https orca pathfix com functions text replace name replace api with regex search pattern method post request pathparameters queryparameters headerparameters bodydataparameters formdataparameters results languages id 6ua3gyejdn ouz x6bdxk code n t output we need to completely replace our old furniture n language 200 id rs0tqihdh67vog3 kv9a0 code n message error n language 404 selectedlanguageid 6ua3gyejdn ouz x6bdxk examples languages id kk9rskmqsjdpj4sto2zqf code r n t input we need to completely replace our old furniture ex 30293 r n t oldstring ex d r n t newstring r n t regex yes r n language json selectedlanguageid kk9rskmqsjdpj4sto2zqf description call the following api to replace values with replacement text currentnewparameter label body parameter value bodydataparameters