mattrobenolt I used this for exactly that the other day http://stackoverflow.com/questions/406230/regular-expression-to-match-string-not-containing-a-word