in reply to Sorting words, keeping only certain words

@out = sort grep !/^[^a-z]|[^a-z]\Z|--/i, @in;
  • Comment on Re: Sorting words, keeping only words that start with a letter and contain only letter characters, and hypens, and end in a letter
  • Download Code