if ( $something =~ /^[aeiou]/i && $something !~ /(un|uga|ura)/i || $so +mething =~ /hour/i || something =~ /honest/i ) { # First letter of $something is a vowel $print = "an $something"; } else { $print = "a $something"; }
In reply to Re^2: Get Vowels from sentence
by meappy
in thread Get Vowels from sentence
by tiny_tim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |