Add regex replace pattern for mongodb 3.0+ to allow remote connections