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