in reply to Re^2: Way to "trim" part of a phrase?
in thread Way to "trim" part of a phrase?
Thanks again. Andymy $string = q|pour 2 personnes, achetez deux motos tout le monde je p +répare un un projet de voyage assez similaire|; print qq|OLD STRING: $string \n|; $string =~ s/[^\.!\,\:\)]+[\.!\,\:\)]//; print qq|NEW STRING: $string|;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Way to "trim" part of a phrase?
by BioLion (Curate) on Aug 14, 2009 at 15:02 UTC |