Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 surveying the Monastery: (7)
As of 2014-12-19 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (72 votes), past polls