Page 1 of 1

How to sort (by name) from specific caracter

Posted: Fri Nov 24, 2023 8:12 am
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

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

Posted: Fri Nov 24, 2023 11:17 am
by void
You will be able to in Everything 1.5 with the following search:

regex:.*#.*#(.*) sort:regmatch1

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

Posted: Fri Nov 24, 2023 3:04 pm
by ghost54770
Thanks ! It's work very well :D

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

Posted: Fri Nov 24, 2023 3:20 pm
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

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

Posted: Fri Nov 24, 2023 5:02 pm
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 #.

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

Posted: Fri Nov 24, 2023 5:23 pm
by ghost54770
Thank you NotNull !