I'm working on Android and I want to replace all ocurrences of a certain {character} in a String with another String. For example, if the character we're talking about is 'a'and the replacement is "12" then:
Input : There are {a} months in a year.
Output : There are 12 months in a year.
I don't know how to deal with the replaceAll method and regexes ...
Thank you!
replaceAllusage?