This program generates an extended regular expression that matches every string that does not contain the given word (a negative match for the word).

Written by Pedro Gimeno, as a complement for this SO post.

Input word to create a negative match for: