On Mar 25, 4:13*am, "Eric R. C. Holcomb"
wrote:
> Howdy,
>
> I have been puzzling about how to exclude a couple of specific users
> from one of my groups. *I have a huge number of user from *
> example\.co\.jp$ who are added to the Example group automatically. *
> However, Takeshi and Hiroko (both with example.co.jp addresses) can not
> be part of Example group. *What sort of regex would allow automatic
> inclusion of everyone else but exclude them?


Had to break out a book! (O'Reilly Mastering Regular Expressions, page
229 if interested)

^(?!takeshi|hiroko).+example\.co\.jp$

I make no guarantees though. For reference, this is called a
'negative lookahead' in the book.