in reply to regex to deny characters?
$string !~ /^(?:(?<!-)(?:[-a-z])*(?<!-)\s*)+$/ [download]
Update forgot to ^$ it and invert it.. doh.
Hope it helps UnderMine