Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: How to avoid an alphabet and integer next to it in a string?

by DrHyde (Prior)
on Mar 25, 2014 at 11:26 UTC ( #1079663=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^5: How to avoid an alphabet and integer next to it in a string?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1079663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-07-02 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls