in reply to Re^4: 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?
Or simpler, H\d+. \d* will match *zero* or more digits, \d+ matches *one* or more.
update: oh, wait, ignore me. You need to knock out the H in (eg) NaOH, which doesn't have a digit after it.
|
|---|