Is there is any API which replace template string along with values using Spring or java.
For example:
Dear %FIRST_NAME% %LAST_NAME%, ---- remaining
Check StringTemplate, http://www.stringtemplate.org/ and article here to get feel of it, http://www.codecapers.com/post/Generating-Structured-Text-with-StringTemplate.aspx