in reply to REGEX omit dashes - simple but ...
use warnings; use strict; my $num = '0001144204-09-017358'; print "$num\n"; $num =~ tr/-//d; print "$num\n"; __END__ 0001144204-09-017358 000114420409017358
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: REGEX omit dashes - simple but ...
by wrkrbeee (Scribe) on Apr 04, 2016 at 17:09 UTC | |
by CountZero (Bishop) on Apr 04, 2016 at 17:13 UTC | |
by kennethk (Abbot) on Apr 04, 2016 at 17:14 UTC | |
by wrkrbeee (Scribe) on Apr 04, 2016 at 17:17 UTC | |
by stevieb (Canon) on Apr 04, 2016 at 17:23 UTC | |
by kennethk (Abbot) on Apr 04, 2016 at 17:28 UTC | |
by wrkrbeee (Scribe) on Apr 04, 2016 at 17:29 UTC | |
by Marshall (Canon) on Apr 04, 2016 at 17:53 UTC | |
by kennethk (Abbot) on Apr 04, 2016 at 17:36 UTC | |
by wrkrbeee (Scribe) on Apr 04, 2016 at 17:45 UTC | |
| |
| A reply falls below the community's threshold of quality. You may see it by logging in. |