how delete a specific line and next line?
-
i’m use wireshark export txt file function
and get this Hex_code and Ascii Code Data
i want delete { Not dissected data bytes (13 bytes): } line and next line
this two Sentences i didn’t want but they are printed repeatedly
how should i do?Frame (67 bytes):
0000 7c 2a 31 3b da 17 70 5d cc 2e e6 2c 08 00 45 00 |*1;…p]…,…E.
0010 00 35 ea 94 40 00 80 06 fb 0d 0a 0a 00 76 0a 0a .5…@…v…
0020 00 97 c6 c4 13 88 85 c2 4f 3c 93 0e 55 c6 50 18 …O<…U.P.
0030 02 01 d8 5c 00 00 c7 d1 b1 db c5 d7 bd ba c6 ae …
0040 31 32 33 123
Not dissected data bytes (13 bytes):
0000 c7 d1 b1 db c5 d7 bd ba c6 ae 31 32 33 …123Frame (67 bytes):
0000 7c 2a 31 3b da 17 70 5d cc 2e e6 2c 08 00 45 00 |*1;…p]…,…E.
0010 00 35 ea 95 40 00 80 06 fb 0c 0a 0a 00 76 0a 0a .5…@…v…
0020 00 97 c6 c4 13 88 85 c2 4f 49 93 0e 55 c6 50 18 …OI…U.P.
0030 02 01 d8 4f 00 00 c7 d1 b1 db c5 d7 bd ba c6 ae …O…
0040 31 32 33 123
Not dissected data bytes (13 bytes):
0000 c7 d1 b1 db c5 d7 bd ba c6 ae 31 32 33 …123Frame (68 bytes):
0000 7c 2a 31 3b da 17 70 5d cc 2e e6 2c 08 00 45 00 |*1;…p]…,…E.
0010 00 36 ea 96 40 00 80 06 fb 0a 0a 0a 00 76 0a 0a .6…@…v…
0020 00 97 c6 c4 13 88 85 c2 4f 56 93 0e 55 c6 50 18 …OV…U.P.
0030 02 01 f3 06 00 00 c7 d1 b1 db 20 c5 d7 bd ba c6 … …
0040 ae 31 32 33 .123
Not dissected data bytes (14 bytes):
0000 c7 d1 b1 db 20 c5 d7 bd ba c6 ae 31 32 33 … …123Frame (59 bytes):
0000 7c 2a 31 3b da 17 70 5d cc 2e e6 2c 08 00 45 00 |*1;…p]…,…E.
0010 00 2d ea 97 40 00 80 06 fb 12 0a 0a 00 76 0a 0a .-…@…v…
0020 00 97 c6 c4 13 88 85 c2 4f 64 93 0e 55 c6 50 18 …Od…U.P.
0030 02 01 f9 c3 00 00 54 45 53 54 5f …TEST_
Not dissected data bytes (5 bytes):
0000 54 45 53 54 5f TEST_0000 01 00 5e 7f ff fa 70 5d cc 2e e6 2c 08 00 46 00 …^…p]…,…F.
0010 00 20 7f 5a 00 00 01 02 ab 03 0a 0a 00 76 ef ff . .Z…v…
0020 ff fa 94 04 00 00 16 00 fa 04 ef ff ff fa …0000 ff ff ff ff ff ff 70 5d cc 2e e6 2c 08 00 45 00 …p]…,…E.
0010 00 e5 2e 00 00 00 80 11 f6 7f 0a 0a 00 76 0a 0a …v…
0020 00 ff 00 8a 00 8a 00 d1 83 eb 11 02 e6 f6 0a 0a …
0030 00 76 00 8a 00 bb 00 00 20 45 45 45 46 46 44 45 .v… EEEFFDE
0040 4c 46 45 45 50 46 41 43 4e 44 46 45 48 44 47 45 LFEEPFACNDFEHDGE
0050 4f 45 4c 46 41 45 47 43 41 00 20 46 48 45 50 46 OELFAEGCA. FHEPF
0060 43 45 4c 45 48 46 43 45 50 46 46 46 41 43 41 43 CELEHFCEPFFFACAC
0070 41 43 41 43 41 43 41 43 41 42 4e 00 ff 53 4d 42 ACACACACABN…SMB
0080 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 %…
0090 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 21 …!
00a0 00 00 00 00 00 00 00 00 00 e8 03 00 00 00 00 00 …
00b0 00 00 00 21 00 56 00 03 00 01 00 00 00 02 00 32 …!.V…2
00c0 00 5c 4d 41 49 4c 53 4c 4f 54 5c 42 52 4f 57 53 .\MAILSLOT\BROWS
00d0 45 00 01 00 80 fc 0a 00 44 45 53 4b 54 4f 50 2d E…DESKTOP-
00e0 35 47 36 4e 4b 50 46 00 0a 00 03 10 00 00 0f 01 5G6NKPF…
00f0 55 aa 00 U…
Not dissected data bytes (5 bytes):
0000 54 45 53 54 5f TEST_ -
Hi @김성찬
Try this:
Put the caret at the beginning of the document. Then open the
Find
panel and copy the following line:Find what:
(?-s)Not dissected data bytes \(\d+ bytes\):\R^.*\R
Replace with:[leave empty]
Select the
Regular expression search mode
, and click onReplace All
.That’s all.
-
@astrosofista said in how delete a specific line and next line?:
(?-s)Not dissected data bytes (\d+ bytes):\R^.*\R
thanks your comment
i do it this way well