Create regex and wildcards