Powershell Create Random String Python Replace Method Code In Java