@kropot There is an android app called URLCheck that lets you intercept and rewrite URLs in various ways. I haven't tested this specific thing, but one of the modules allows for regex rewrite rules.