perl or sed s/// problem

Top Page
ThreadAuthorDate ()
M+\David
||MLisa Kachold
||MMatt Graham
M||Jason Holtzapple
|M|Eric Shubert
M.|Dale Farnsworth
..MKevin Brown
..MDavid