Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: regular expression ?!

by ccn (Vicar)
on May 05, 2009 at 12:51 UTC ( #761921=note: print w/replies, xml ) Need Help??


in reply to regular expression ?!

perl -ple 's/\bBM/XXXXX_BM/g if $. == 1' file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://761921]
help
Chatterbox?
[QM]: choroba, who or what are you hiring?
[choroba]: Perl programmers
[QM]: In Prague? A bit too far away for me.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-06-29 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (658 votes). Check out past polls.