I think... gets out the console$string !~ /^(?:(?<!-)(?:[-a-z])*(?<!-)\s*)+$/
Update forgot to ^$ it and invert it.. doh.
Hope it helps
UnderMine
In reply to Re: so close, yet so far away...
by UnderMine
in thread regex to deny characters?
by arrow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |