How to sort (by name) from specific caracter

General discussion related to "Everything".
Post Reply
ghost54770
Posts: 8
Joined: Sat Jun 03, 2023 8:36 am

How to sort (by name) from specific caracter

Post by ghost54770 »

Hello
Is it possible to sort (by name) results from specific started caracter ?
Example : I have folders name and my started caracter is the second "#".
rrr#111#c
gegop#1668#b
zzz##z

i want sort like this (abz):
gegop#1668#b
rrr#111#c
zzz##z
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to sort (by name) from specific caracter

Post by void »

You will be able to in Everything 1.5 with the following search:

regex:.*#.*#(.*) sort:regmatch1
ghost54770
Posts: 8
Joined: Sat Jun 03, 2023 8:36 am

Re: How to sort (by name) from specific caracter

Post by ghost54770 »

Thanks ! It's work very well :D
ghost54770
Posts: 8
Joined: Sat Jun 03, 2023 8:36 am

Re: How to sort (by name) from specific caracter

Post by ghost54770 »

One last question :
Is it possible to not display specific caracter from match ?
example:
rrr#111#c
gegop#1668#b
zzz##z

to

c
b
z
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: How to sort (by name) from specific caracter

Post by NotNull »

Try it with:

Code: Select all

regex:^.*?#.*?#(.*)$    addcolumn:regmatch1    sort:regmatch1
The new column Regular Expression Match 1 will contain the text from after the second #.
ghost54770
Posts: 8
Joined: Sat Jun 03, 2023 8:36 am

Re: How to sort (by name) from specific caracter

Post by ghost54770 »

Thank you NotNull !
Post Reply