in reply to Re^4: removing <br> from my output
in thread removing <br> from my output

Thank you! it worked.I could even get rid of the duplicate lines.

one more question:can I use the same thing if the input file has lines like below:

line50=false

Replies are listed 'Best First'.
Re^6: removing <br> from my output
by raisputin (Scribe) on May 20, 2009 at 19:31 UTC
    Is it the same file, or a different file that has line30=false? Either way, the regexp would need to be modified to account for that... maybe something like print FINAL if /(line\d*=(\d|[false]|[A-Za-z]{3}\s).)/;