in reply to Swap Input lines
It accepts input like this:$output_line = "$3$2$1" if $input_line =~ /^([a-z][a-z\s]*[a-z])(\W+)(\d[\d-]*\d)$/i;
and the output will be:Mary Smith = 345-78-9090 Joseph Alioto 976-83-1234
345-78-9090 = Mary Smith 976-83-1234 Joseph Alioto
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Swap Input lines
by brx (Pilgrim) on Apr 19, 2012 at 10:09 UTC | |
by trizen (Hermit) on Apr 19, 2012 at 10:20 UTC | |
|
Re^2: Swap Input lines
by JavaFan (Canon) on Apr 19, 2012 at 10:22 UTC |