У меня есть данные, как показано ниже. Я хочу преобразовать его в одну строку для каждой части (начиная с #).
Я хочу это как:
#6536 - NEW [R] - *NONE*.
communicationFailureEvent - SITE - MSC_MR1_B02_KBN1(55/JANPAT4-1/D311-CE/DEL-ODM_L): 55 SITE - 15/04/2018 11:21:55.
[0] Last RSL Link Failure - FMIC - Critical -/-.
Config Tag 1
#7811 - NEW [R] - *NONE*.
communicationFailureEvent - SITE - MSC_MR1_B17_KB3(8/PNB_3G/D323-CE/DEL-IBM_L): 8 SITE - 25/04/2018 15:52:04.
[0] Last RSL Link Failure - FMIC - Critical -/-.
Config Tag 3ed1
#5569 - NEW [R] - *NONE*.
communicationFailureEvent - SITE - MSC_MR1_B22_GZBD2(49/TRISHUL-APT_3G/D441-GZ/GZB): 49 SITE - 23/06/2018 08:28:54.
[0] Last RSL Link Failure - FMIC - Critical -/-.
Config Tag 86d217
#3369 - NEW [R] - *NONE*.
communicationFailureEvent - SITE - MSC_KB1_B13_KB2(19/KIRTI-NAGAR_3G/D342-EA/DEL): 19 SITE - 30/06/2018 11:06:41.
[0] Last RSL Link Failure - FMIC - Critical -/-.
Config Tag 82cb8c
#1641 - NEW [R] - *NONE*.
communicationFailureEvent - SITE - MSC_KB1_B06_KB1(27/MOTINAGAR-NW_3G/D342-EA/DEL): 27 SITE - 30/06/2018 12:08:59.
[0] Last RSL Link Failure - FMIC - Critical -/-.
Config Tag 8540f6
===========================================================
#6536 NEW [R] *NONE*. communicationFailureEvent SITE MSC_MR1_B02_KBN1(55/JANPAT4-1/D311-CE/DEL-ODM_L): 55 SITE 15/04/2018 11:21:55. [0] Last RSL Link Failure FMIC Critical -/-. Config Tag 1