Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by moritz (Cardinal)
on Mar 21, 2014 at 18:20 UTC ( #1079323=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/H(?![a-z])\d*//</c>
    
    <p>Or if you prefer the Unicode-y approach:</p>
    
    <code>s/H(?!\p{Ll})\d*//
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (17)
As of 2015-07-28 15:22 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 (257 votes), past polls