in reply to Re^3: REGEX omit dashes - simple but ...
in thread REGEX omit dashes - simple but ...
Thanks guys, here's the revised statement, along with the result: if($line=~m/^\s*ACCESSION\s*NUMBER:\s*/m){$access_num=$1; $access_num =~ tr/-//d;} Result is the error message stating "Use of uninitialized value ...." ?? Thanks!!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: REGEX omit dashes - simple but ...
by stevieb (Canon) on Apr 04, 2016 at 17:23 UTC | |
|
Re^5: REGEX omit dashes - simple but ...
by kennethk (Abbot) on Apr 04, 2016 at 17:28 UTC |