I'd like to test whether a string contains "Kansas" followed by anything other than " State".
Examples:
"I am from Kansas"          true
"Kansas State is great"     false
"Kansas is a state"         true
"Kansas Kansas State"       true
"Kansas State vs Kansas"    true
"I'm from Kansas State"     false
"KansasState"               true
For PCRE, I believe the answer is this:
'Kansas(?! State)'
But Mysql's REGEXP doesn't seem to like that.
ADDENDUM: Thanks to David M for generalizing this question: http://stackoverflow.com/questions/2837706/how-to-convert-a-pcre-to-a-posix-re