Use regexp for url remapping