TRo add to Pete Leow's suggestion: "hello" doesn't match just "hello", and "hello\s?" doesn't just match hello with a space after it. It also matches
"hello there"
"hello-there"
"why-hello!"
And anything else which contains the letters "hello" contiguously in that sequence.
If you want to match exactly "hello" or "hello " then you want:
^hello\s?$
If you want to work with regexes, then get a copy of
Expresso[
^] - it's free, and it examines, tests, and generates regular expressions. Damn useful, and I wish I'd written it!