Perl-Sensitive Sunglasses | |
PerlMonks |
Adding <pre> at beginning </pre> at file endby vinoth.ree (Monsignor) |
on Apr 07, 2009 at 13:53 UTC ( [id://756027]=perlquestion: print w/replies, xml ) | Need Help?? |
vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question: Hi, Here I have a file like following,
Testing testset I need to insert html pre tag at beginning of the first line and html pre close at the end of the last line So, finally I should get the file like following
pre at beginning How can I do it with regular expression ?
Back to
Seekers of Perl Wisdom
|
|