Can we do `hash.replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '')` ?