in reply to Increment a string with letters and numbers
echo "EVO:0000023" | perl -pe 's/(\d+)/++($_=$1)/e;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Increment a string with letters and numbers
by kschwab (Vicar) on Mar 28, 2013 at 21:16 UTC | |
by emptyshell (Initiate) on May 21, 2013 at 02:24 UTC | |
by Athanasius (Archbishop) on May 21, 2013 at 03:14 UTC | |
by emptyshell (Initiate) on May 21, 2013 at 04:55 UTC |