How to randomize lines on repeat order
-
Hello to all : is my first day here : First let me say HELLO to all you !
Second , I have a text file with 100 string and some of them is repeated :
example :
rowx 10 time
rowy 25 times
rowz 15 times
rowj 50 timesI need to randomize like this ; first les repeated :
rowx 10 time
rowz 15 times
rowy 25 times
rowj 50 timesI read about some solution but no chance !
Thankyou ! -
@Benhur-Marxs Edit > Line Operations > Randomize Line Order
Example
- Before:
0 1 2 3 4 5 6 7 8 9
- After:
6 2 8 5 3 7 0 4 9 1
- Before:
-
The above answer (randomize line order) may not be what you’re looking for, because it sounds like you want to randomize the order of groups of lines.
I have a series of operations that should be able to do that for you.
Before you begin, make sure to check
Regular expression
in the find/replace form.Then search for
\x07|\x01
in your document, and make sure your document doesn’t contain any of either of those characters. It shouldn’t, but if it does, try using different control characters (other than\t
and\r
and\n
) in the regular expressions below. For example, if your text contains\x07
but not\x01
, you might use\x02
instead of\x07
.- Find
(?-s)^(.*)(\R(?!\1)|\Z)
and replace it with${1}\x07${2}
- this will mark the end of each section of identical lines with a
BEL
character, which is not found in normal text.
- this will mark the end of each section of identical lines with a
- Find
(?<!\x07)\R
and replace it with\x01
- this will replace all newlines inside of each section with the
SOH
character, which is also not found in normal text.
- this will replace all newlines inside of each section with the
- Run the
Edit->Line Operations->Randomize Line Order
command from the Notepad++ main menu.- this randomizes the order of the sections.
- Find
\x01
and replace it with\r\n
(or\r
if you useCR
newlines, or\n
if you use Unix newlines)- this restores the newlines within the sections
- Find
\x07
and replace it with nothing.- this removes the
\x07
we used to indicate the ends of sections.
- this removes the
- Find
-
Mark-Olson you have reason I need command or multiple command to randomize groups of lines as the example here … tried as you suggest but no chance !
-
@Benhur-Marxs said in How to randomize lines on repeat order:
randomize groups of lines as the example here
You say randomize but I think perhaps since english isn’t your first language (correct?) that word is misleading.
My reading of your question suggests you want to have the same lines grouped together with the group containing least number of lines being first, then second least number of lines listed second and so forth. Is that correct?
What you want isn’t a trivial matter. Likely it will take someone a while to provide an answer (if they wish to pursue it). I have already spent several minutes on it without coming up with an answer. Sometimes it just involves hitting on the right solution and I do think @Mark-Olson solution may provide some of the initial steps.
Terry
-
I think @Benhur-Marxs means to sort the groups of lines by the number of repeats.
If that’s the case then the Find and Display All Duplicate Lines thread would help though the Python script posted there generates a separate file that reports on the duplicates rather than re-ordering the source file.
-
@Benhur-Marxs said in How to randomize lines on repeat order:
I need to randomize like this ; first les repeated :
So my solution still assumes that your lines are grouped together but just not in the order of frequency you would like. Give this solution a try. If it doesn’t work it will likely be beacuse you have not explained well enough the data you have and we’ve made incorrect assumptions as a result. If it doesn’t work try to explain where it failed. A nod to @Mark-Olson for his first few steps which I’ve replicated below.
- Find
(?-s)^(.*)(\R(?!\1)|\Z)
and replace it with${1}\x07${2}
- this will mark the end of each section of identical lines with a BEL character, which is not found in normal text. - Find
(?<!\x07)\R
and replace it with\x01
- this will replace all newlines inside of each section with the SOH character, which is also not found in normal text. - Find
^(?!\x01)
and replace with\x01
- add the SOH to start of any line that doesn’t currently have it (likely to be only the first line). - Find
^([^\x01\r]+)?\x01
and replace with#${1}\x07
- adds a # at start for every line in that group. You must run this again and again until it states 0 occurances changed. Hopefully none of your lines start with a#
- Find
\r
and replace with\r\n
- making the lines a standard windows type for next operation. - sort lines lexigraphically ascending - Edit, Line Operations
- Find
\x07
and replace with\r\n
- change the BEL character to a standard CRLF (end of line) - Find
^#+\r\n
and replace with empty field, so nothing in the replace field - removes the lines with # characters - remove empty lines - Edit, Line Operations
Good luck
Terry - Find
-
Because your data isn’t very precise, and because English appears to not be your first language, people are having a hard time understand what you actually want.
I am hoping that @Terry-R’s most recent reply will work for you. But if it does not work for you, the please follow the instructions below:
Instructions:
It might help if you gave better example data that actually has the multiple rows. But, instead of using 10/25/15/50, just use smaller numbers of rows, like 2/4/3/5. But show all the rows.
- Hit reply on this post.
- type
**BEFORE:**
and ENTER. - Hit the
</>
button. - Replace
code_text
with better example data of what your data is starting like. - Go to the end of the reply.
- Hit ENTER a couple of times.
- type
**AFTER:**
and ENTER. - Hit the
</>
button. - Replace
code_text
with the “after” data that you want it to transform into.
-
@PeterJones ok sorry is very clear now : i tried to reply as you suggest but the system blocking my reply as spam ! maybe need a point of reputation !
maybe must download from here link text -
Probably akismet thinks the random nonsense in that text is spam, which repuation wouldn’t help you with (and you already have reputation).
Looking at the paste bin, I don’t actually think you want randomization of the order. You just seem to want each group of identical lines to be re-ordered, so that the group of 1 identical line goes first, the group of 2 identical lines goes second, etc – so sorting by number of identical lines that happen in a row.
If so, then have you tried @Terry-R 's most recent solution – because his description of that solution (sorting by frequency) seems to be exactly what your paste-bin implies.
----
Let’s see if I can include the stuff from your “paste bin” to help those who won’t click on paste-bin links, and if so, people can test their solutions against your before/after.
BEFORE:
E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F <-- 10 times E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 < -- 11 times E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF <-- 4 times CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC <--3 times 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 <-- 9times 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 <-- 8 times 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D <-- 7 times 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 <-- 2 times 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB <-- 6 times 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C <- 1 time 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 <-- 5 times 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0
AFTER:
3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C <-- 1 time 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 <-- 2 times 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC <-- 3 times 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF <-- 4 times CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 <-- 5 times 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB <-- 6 times 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D <-- 7 times 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 <-- 8 times 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 <-- 9 times 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F <-- 10 times E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 <-- 11 times E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5
-
@PeterJones … no luck ::: is still not sorted as i asked !! still casual random !
But no problem friend , thank you for your answer ! -
@Benhur-Marxs said in How to randomize lines on repeat order:
no luck ::: is still not sorted as i asked !! still casual random !
If the data really has the
<-- 3 times
and similar, then @Terry-R’s procedure won’t work. If your data does not have the extra information at the end, it works exactly as described, as I show below.So, from the data I showed in my post, if I remove the
<-- #...
from the end of those lines (so that there are no spaces or other characters beyond the end of the main line), and then follow the procedure, and I get:- Original
- Mark sections with BEL
- newline to SOH
- initial SOH
- add # repeatedly until no more are added:
- standardize EOL (not show, no change)
- sort
- BEL to CRLF
- removes
#
lines
- Removes empty lines
And done.
- Original
-
Try this. All Find what / Replace with below are entered in the dialog that comes up when you select Search | Replace from the main menu; in addition to entering the find and replace strings, you must have Search Mode: Regular expression set and Wrap around checked.
Find what :
^
Replace with :@#
Click Replace All.Find what :
^(@++)([^\r\n]++)\R(@++)\2$
Replace with :\1\3\2
Click Replace All repeatedly until the message at the bottom says no more replacements were made.Edit | Line Operations | Sort Lines Lexicographically Ascending
Find what :
^(@+?)(\1@?)(#[^\r\n]*+)$
Replace with :\1\3\r\n\2\3
Click Replace All repeatedly until the message at the bottom says no more replacements were made.Find what :
^@#
Replace with : (empty)
Click Replace All. -
@Coises thankyou !
-
Hello, @benhur-marxs, @terry-r, @mkupper, @peterjones,@coises and All,
Here is an alternate solution :
- From the original INPUT text, below :
E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0
-
With this first regex S/R :
-
SEARCH
^(?-is)(.+\R)\1*
-
REPLACE
~$0
-
And a single click on the
Replace All
button, we add a~
character at beginning of the first line of each block and obtain :
-
~E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F ~E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 ~CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF ~8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC ~89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 ~7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 ~5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D ~4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 ~3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB ~3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C ~0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0
Continuation on next post !
-
-
Now, with this second regex S/R :
-
SEARCH
(?-is)^(~+(?:.+/)?(.+))\R(?=\2)
-
REPLACE
~\1/
-
And consecutive hits on the
Replace All
button, till the message... 0 occurrence ...
, we add a~
character at the very beginning of a line and join two identical lines with the/
separator
-
So, we get the following text :
~~~~~~~~~~E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F ~~~~~~~~~~~E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 ~~~~CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF ~~~8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC/8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC/8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC ~~~~~~~~~89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 ~~~~~~~~7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 ~~~~~~~5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D ~~4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4/4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 ~~~~~~3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB ~3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C ~~~~~0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0
- Then, run the sort command
Edit > Line Operations > Sort Lines Lexicographically Ascending
=> Our text becomes :
~3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C ~~4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4/4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 ~~~8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC/8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC/8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC ~~~~CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF/CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF ~~~~~0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0/0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 ~~~~~~3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB/3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB ~~~~~~~5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D/5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D ~~~~~~~~7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4/7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 ~~~~~~~~~89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08/89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 ~~~~~~~~~~E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F/E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F ~~~~~~~~~~~E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5/E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5
Continuation on next post
-
-
-
Finally, with this third regex S/R, below :
-
SEARCH
^~+|(/)|(\R)
-
REPLACE
(?1\r\n)?2\2\2
-
And a single click on the
Replace
button, you should get the expected OUTPUT text :
-
3421998C74C264C6475C598F164AD6868FCF4C9CBB702B4E4C27BCA8ABCA5A63B4C0968247B571AEE01FB4FD128D91E051119BDE0C 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 4E6B5083D6D4C3544B493A0B70155F1E67C7A21996EFE7B214F899DEE5913DE933439A05EABA152AB4CE0AE70505D9FC5C70E752D4 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC 8DA0B77B6EE18D3829EA1E4232969C86B475D22DB575BC0B302EEA70793E1245B2F999A7415CA75D780888C8A9BC16E878505F0DEC CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF CC02888C8C4626E956D8ADEA384807045527B8F65334D9C5EF6FF023A875EF55690B29FE00AF0F4FE32D39A50382A01E8C99176DCF 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 0B45821F59A2E7FD7AE1B727C3C0101508E1917A08498C477971FC718545CD1A053C64D961C5F530D0111EDE35AC4BCD4A5B13A8B0 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 3FDE5EB1251D1E3C0C11A94CD14BAFA725955CB9EA7D33AB5801CF761CF56D6B946E8882AAB7E54EBB42E660FAD7F31AC99413E9FB 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 5DB580A75A8FA528CA0D3E6D06685F03FBA0BE71D36017D738F89C2EFCD9A806AEB5C8C7BA7171EAB908B3694FC31BA69A0CDFB27D 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 7A6C9A03F3CD09E1B084D30EA68E378D77C0333B33EEC902AEA538B6309F1D5C9C73C67B277D96D11DD455C335CE2AD245A0349EA4 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 89322A86A9F9A6B0D766B7C7FAA7A46E3DE3E3EAB02836420D50357471E18CD724C86B5C7A5A8BE31A24CC43B685EDACC9F8D93C08 E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E7BFC47C3A067CDF6E3C53CBA27AE0B2ECDE4486D97630C3B01DCFCA6DBA2CC16D7855BAFA34877E386AADE78C94993BF12F33346F E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5 E67753DC737A97F917155F1CCCB4B94E29B3E9494385EA3CD5B4DBD42C69428DE44258C01E5FBEE7F0528CEFC86CD472D9144A12D5
Voila !
Best Regards,
guy038
-
-
Thank you ALL !
I resolved with your help ( all you ) !!
That’s all I asked !! -
I renew my thanks to all you : my last request !
My file at the end seem like this ;
( usually is 10 or 11 rows total ,and I want to save only the 8th row from the end )
before@@4E6B5083D6D4C3544B @@8DA0B77B6EE18D3829 @@F869AD9ED3CBB6DB3C @@@@@@@@0749C1720F5BD082D8 @@@@@@@@@@@@@@3FDE5EB1251D1E3C50 @@@@@@@@@@@@@@7A6C9A03F3CD09E1E3 @@@@@@@@@@@@@@@@0B45821F59A2E7FD7A @@@@@@@@@@@@@@@@5DB580A75A8FA52876 @@@@@@@@@@@@@@@@89322A86A9F9A6B04C @@@@@@@@@@@@@@@@E67753DC737A97F917 @@@@@@@@@@@@@@@@E7BFC47C3A067CDFC5
after
0749C1720F5BD082D8thank you