For example:
$ perl -E ' say map { qq{"$_" }} split /(\d+)/ for qw[ AB23C ABC23 23 +BC ABC ]' "AB" "23" "C" "ABC" "23" "" "23" "BC" "ABC"
In reply to Re^2: Split with numbers
by Laurent_R
in thread Split with numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |