Syntactic Confectionery Delight | |
PerlMonks |
Re: Edit a New file in place after reading it inby BillKSmith (Monsignor) |
on Dec 21, 2021 at 22:39 UTC ( [id://11139811]=note: print w/replies, xml ) | Need Help?? |
You need a regular expression (perlreref) for the 'PATTERN' in a substitution operator (s/PATTERN/REPLACEMENT/msixpodualngcer). Your single example does not provide enough information for us to offer much help in writing that regex.
Bill
In Section
Seekers of Perl Wisdom
|
|