in reply to Finding specific alphanumeric IDs from the string
for (split ',', $ids) { die "$_: Invalid ID" unless /^(CWG)?(\d{3,})$/; print "ID $2"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding specific alphanumeric IDs from the string
by Anonymous Monk on May 21, 2012 at 16:34 UTC | |
by Grimy (Pilgrim) on May 21, 2012 at 20:09 UTC | |
by Anonymous Monk on May 24, 2012 at 18:52 UTC | |
by Anonymous Monk on May 22, 2012 at 03:19 UTC |