Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 pondering the Monastery: (7)
As of 2016-06-25 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.