Swift Replace Characters In String Regex In Java