Pay attention to using matcher.appendreplacement (String str1, string str2): it is best to use:
Matcher.AppendReplacement (String str1, string str2.
ReplaceAll ("", "") .ReplaceAll ("// $", "// $")))
1
ReplaceAll ("" "") is to put "/" symbol, if this processing is not performed, "/" symbol will be deleted! 2
ReplaceAll ("// $", "// $") is to transfer the "$" symbol, because "$" adds a number to express the meaning of the first few groups!