Hi! I'm still pretty new to XYplorer and I try to use it as much as I can! I'm currently trying to set up a searchable database, for arguments sake, let's say it's for dogs that are up for adoption.
I am stuck with the following regex problem: Let's assume that I made a new custom column (numbers) in which I enter each dog's weight. I now want to show a client only midsize dogs and want to filter those out that aren't in that weight range. How would I formulate the regex query so it only shows dogs that weigh between 30 kg and 60 kg?
Thank you in advance!
Help with regex search / visual filter
-
highend
- Posts: 14926
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Help with regex search / visual filter
Afaik visual filters don't support regex for other columns than the name so it wouldn't work that way...
In theory the pattern would have looked like this:
In theory the pattern would have looked like this:
>ex1:^([3-5][0-9]|60)$ or in whatever extra column the data is...One of my scripts helped you out? Please donate via Paypal
-
n00bs
- Posts: 7
- Joined: 05 Sep 2022 09:27
Re: Help with regex search / visual filter
>ex1: would then we the name of the column?
-
highend
- Posts: 14926
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Help with regex search / visual filter
How you name the column isn't relevant, in the example it's the extra1 column = ex1 and the > isn't part of the name, it's to indicate that's a regex pattern
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club