Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: regular expression ?!

by ccn (Vicar)
on May 05, 2009 at 12:51 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://761921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found