Forum Discussion

sshaikh's avatar
sshaikh
New Contributor
2 years ago

In XML Document how to replace \\ by \

Hi,

The Input data is in XML format, There are multiple array and inside that in some of field contains double slash and need to replace it with single , we tried to build json expression like below in mapper:

Can anyone help with this.

if anyone have any alternate solution then please let us know.

 

  • kkishore's avatar
    kkishore
    New Contributor III

    Hi @j.angelevski,

    It is not same, it changes like { “count”:54, “type”: “excel sheet”} or { “count”:72, “type”: “word”} .
    depending on the source it varies.