Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: regular expression

by Crackers2 (Vicar)
on Feb 15, 2012 at 16:07 UTC ( #953987=note: print w/ replies, xml ) Need Help??


in reply to Re^3: regular expression
in thread regular expression

Slight variation so you don't need the length:

substr($str, 6, -4) =~ s/./X/g;


Comment on Re^4: regular expression
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-11-28 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls