in reply to Extracting names from string
Assumptions:$string = "s005219/Doe John|John.Doe\\"; @array = split/[^\w\s\.]+/, $string; print join "--",@array;
How to get "Doe John" out of the array is left as an exercise for the reader.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting names from string
by Not_a_Number (Prior) on Feb 08, 2005 at 17:30 UTC | |
by dimar (Curate) on Feb 09, 2005 at 02:33 UTC |