perl -lne "print $first++? q{</div><div>}:q{<div>} and next if 0==inde +x $_, "[Sidenote"; print; print q{</div>} if eof" letters.txt
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
In reply to Re: Regexing a block of text in between patterns
by codeacrobat
in thread Regexing a block of text in between patterns
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |