I have an input that can have only 2 values apple or banana. What regular expression can I use to ensure that either of the two words was submitted?

2 Answers
2

Leave a Reply

Your email address will not be published. Required fields are marked *