in reply to Re: finding nonword character at end of strings
in thread finding nonword character at end of strings
Try this one:
It also captures the space or end of string and uses that rather than a space: this may or may not be what you want.$f =~ s/\s(i|a|e|o|u|y|E):(\s|$)/ $1$2/;
-- iakobski
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: finding nonword character at end of strings
by Hofmator (Curate) on Jun 26, 2001 at 14:51 UTC |