Create regex object in form.Text if string is given