From: Donovan Dillon Date: 2008-02-03T07:40:17+09:00 Subject: Re: Extracting vowels and consonants using regular expression Thanks Robert, Corey, Philip, Stephano, et. al, for all of the great suggestions. However, they all seem to ignore the conditional nature of 'y' as a vowel. I would like the regex to treat 'y' as a vowel when there is no other vowel either before or after it. The string I used initially, was drawn from the following perl code that accomplishes this (found at http://www.perlmonks.org/?node_id=592867): my @vowels = ( /[aeiou]|(? wrote: > Oh sorry using 1.9 excluseviley now... > Robert >