How to remove space in the transform and then concat

I am trying to write a transform which can remove the space from account attribute of a source and then I could concat the those account attribute in a certain format

Hi @jyghosh ,
you can use replaceAll transform
“type”: “replaceAll”,
“attributes”: {

    "table": {
        "\\s+": ""
    },

and concat transform

{
“name”: “Transform Name”,
“type”: “replaceAll”,
“attributes”: {
“table”:{ “\s+”:“”},
}

Refer below link

Replace All | SailPoint Developer Community.

1 Like

If you are looking to remove the end spaces then you can use this transform before you use concat transform