I need to remove the lines of images like that (

One thing I noticed is that the lines are thinner than the characters, then maybe there is some way to make a filter to remove those lines.
I tried to use HitAndMiss, Erosion but it still fails.
Please, how could I do that?
thank you
Rafael