I have a list of strings. Some of them are of the form 123-...456. The variable portion \"...\" may be:
123-...456
By far the simplest (works for python) is '123-(apple|banana)-?456'.
'123-(apple|banana)-?456'