Python Regex Replace With Capture Group Regex In Java