Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: regular expression

by Crackers2 (Parson)
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953987]
help
Chatterbox?
marto quacks
[1nickt]: LanX You flatter yourself. I downvote only posts that I believe do not support and promote Perl. These would include threads berating P5P volunteers and others.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-04-26 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?