in reply to Re: Increment a mixed alphanumeric (Updated)
in thread Increment a mixed alphanumeric
N1234Z becomes N12350/^[A-Z]+[0-9]*[A-Z]*/;
Ordering of the addition is less important than testing all possible variations. Technically NA0000 is invalid since it has a number, but the number part equals zero. I can handle that logic outside of this code construct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Increment a mixed alphanumeric (Updated)
by BrowserUk (Patriarch) on Oct 27, 2015 at 15:38 UTC |