in reply to regex to deny characters?

Assuming that you wish to reject partial hyphenated words ie. 'this-' and '-that'
$string !~ /^(?:(?<!-)(?:[-a-z])*(?<!-)\s*)+$/
I think... gets out the console

Update forgot to ^$ it and invert it.. doh.

Hope it helps
UnderMine