in reply to what regular expression do I need?

This regexp will match a string that doesn't contain those letters:

/^[^IMO]*$/

If that's not what you're after, please update your post after reading the guidelines in: How do I post a question effectively?

-- Ken