Find and replace all using regex
It would be greatly appreciated if someone could help.
I need to append wrapped lines to where it used to belong.
INPUT:
HOST 00 0 00 00 0 9999 BBB_AAA 0 23 03 (RAM) (U)
(PKK) (LNA) (HLD) $
HOST 00 0 00 00 0 $
HOST 00 0 00 00 1 9999 AAA_AAA 0 32 03 (RAM) (U)
(PKK) (LNA) (HLD) $
REQUIRED OUTPUT:
HOST 00 0 00 00 0 9999 BBB_AAA 0 23 03 (RAM) (U) (PKK) (LNA) (HLD) $
HOST 00 0 00 00 0 $
HOST 00 0 00 00 1 9999 AAA_AAA 0 32 03 (RAM) (U) (PKK) (LNA) (HLD) $
I use Reg Expression
Find what : ^\(.*
No comments:
Post a Comment