I am using string.replace, and I need to use the matched values to generate the value to be replaced with. For example:
string.replace