Searching the table of hardware for (this | that)

I am trying to figure out a syntax I can put into the number of CPU field on the table of hardware for example:

2 or 4

I have tried (2,4) (2|4) "2,4" "2|4" 2 or 4 ...

Is there a way to match more than one value?

Thanks for any ideas.

Chris