Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-10-17 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (218 votes). Check out past polls.

    Notices?