Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 perusing the Monastery: (15)
As of 2014-10-01 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (16 votes), past polls