Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: How to avoid an alphabet and integer next to it in a string?by moritz (Cardinal) |
on Mar 21, 2014 at 18:20 UTC ( [id://1079323]=note: print w/replies, xml ) | Need Help?? |
The Problem with s/H\d*//g is that it will also remove the H from HgS (ok,, not organic chemistry, but you get the point). One way to avoid that is to use a negative look-ahead:
In Section
Seekers of Perl Wisdom
|
|