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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-19 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found