Create regex structure