In a short answer question in Google Forms, I have set data validation to Regular Expression with the condition of "Matches" to:
(MS|MP|PH)[0-9]{5}|Faculty
I want something like "MS18057" (etc.) or "Faculty" to be entered by the user. But in the form, I can enter "xyzFaculty" (etc.), and it seems that the condition "Matches" is behaving like "Contains."
I tried the same by removing the |Faculty portion and I was able to enter "MS18057" (etc.) only as the answer. So it worked fine without |. Why is it so?