in reply to Re: Split with numbers
in thread Split with numbers
For example:
$ perl -E ' say map { qq{"$_" }} split /(\d+)/ for qw[ AB23C ABC23 23 +BC ABC ]' "AB" "23" "C" "ABC" "23" "" "23" "BC" "ABC"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Split with numbers
by Anonymous Monk on Nov 24, 2015 at 20:00 UTC | |
by Laurent_R (Canon) on Nov 24, 2015 at 21:02 UTC |