Fixed regex bug in validations and display bug after correctly submitting a valid syllabus