I need to replace the {0} with values from hashmap. hashmap key is 0,1,2,3 respectively. what would be the right option.i feel we can implement Pattern matcher. What is the pattern for this value?
Dear {0},
You are being contacted because the '{1}' named '{2}' has been changed by '{3}' in the Application. These changes may impact any existing reports you are using which depend upon this information. If you have not authorized these changes, please contact '{4}' or send a request to IT Support to have the changes reversed
Output:
Dear abc ,
You are being contacted because the ' Attribute' named 'prod1_group' has been changed by ' Guest ' in the Application. These changes may impact any existing reports you are using which depend upon this information. If you have not authorized these changes, please contact 'Guest' or send a request to IT Support to have the changes reversed