I am trying to create logic using informatica to replace wherever ',' followed by '-' exist [,-] replace with null.
Input :
[email protected],[email protected],[email protected]
[email protected],[email protected]
Output :
[email protected],[email protected],[email protected]
[email protected],[email protected]
I have tried REPLACESTR,REPLACECHAR but its not working as pattern its considering both of them as single character and replacing wherever it is , or -.I need to build logic where it consider it as pattern of ,followed by - and then replace.
Please show your code, as most likely you're doing something wrong. The REPLACESTR function should be working perfectly fine in your scenario.
Syntax:
Check this example:
Input:
Result:
Seems the following should work for you: