In a message dated 4/11/2006 7:29:18 P.M. Eastern Standard Time, [EMAIL PROTECTED] writes:
 
> Hi,
>
> I was trying to build a regexp that removed all vowels from a word
> except the first character.  So
>
> hello -> hll
> Apple -> Appl
>
> Can someone help ?
>
> Thanks,
>
> Steve
 
 
hi steve --  
 
how about  
 
>perl -we "my $s = 'aspire apple hello easy uvula'; $s=~ s/\B[aeiou]//gi; print $s"
 
hth -- bll wltrs
 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to