Use regex replacing in proxy login