can we write multiple conditions in field mapper [closed]

asked 2020-03-16 09:18:30 -0500

Venkat gravatar image

can give multiple conditions in condition expression/mapping expression in field mapper. If yes please provide the syntax for the multiple conditions.

Ex: mapping expression - ${str:replaceAll(f:name(), '[.\ #()^@!]','_')}

I need to write two conditions one is for special character to be remove and other one is add '-' whererver space in the fields.

Ex: 1. Streamsets# ------Target should be Streamsets 2. Stream sets -------Target should be Stream_sets

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by metadaddy
close date 2020-03-24 12:44:20.328568