from url to pattern (regexp)