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

RE: Apply regex to entire file, not just individual lines ?

by perlcgi (Hermit)
on May 25, 2000 at 15:09 UTC ( [id://14729]=note: print w/replies, xml ) Need Help??


in reply to Apply regex to entire file, not just individual lines ?

Remember that if the unwanted stuff appears more than one per line you'll need a /g to match globally. $lines =~s/^unwantedstuff//gsm

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-26 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found