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
Comment on
RE: Apply regex to entire file, not just individual lines ?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom