http and regex example