modefy regex in forms