ghjghjgkhgkghj
-----
-----
fsgdfgsdfgdfsgdsfg
I would like the regular expression to match the two lines of "----" and convert them to one.
So that the result would be:
ghjghjgkhgkghj
-----
fsgdfgsdfgdfsgdsfg
I would also like it to convert multiple lines of ----- to 1 line.
I have tried :
s/-----\n-----/------/g
and many variations, but nothing has been successful. Thank You, Jeff
In reply to Two line match by jrosenfeld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |