in reply to Re^3: How to avoid an alphabet and integer next to it in a string?
in thread How to avoid an alphabet and integer next to it in a string?
Just eliminate the Hydrogen:
$molform =~ s/H\d*//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to avoid an alphabet and integer next to it in a string?
by piscean (Acolyte) on Mar 21, 2014 at 18:16 UTC |