Regex in menu

How can I use a regular expression to choose an option from a menu.

Example

  1. Option a
  2. Option b
  3. Option c