cancel
Showing results for 
Search instead for 
Did you mean: 

Rule Conditions - Options

newmember
Champ in-the-making
Champ in-the-making
Can I create one rule condition that will satisfy the following:

Pattern is any number for the last three integers
10100.txt
10106.txt
10109.txt
10500.txt
10600.txt

But not
11100.txt
13106.txt
11109.txt
12500.txt
16600.txt

Or is there something like this available;
10[1-9][1-9][1-9].txt

I would like to be able to this in the future;
10[1-3][7-9][1-9].txt

Or something like;
10[1-3]6[4-9].txt


Thanks
2 REPLIES 2

invictus9
Champ in-the-making
Champ in-the-making
The out-of-the-box rules look to be only ? (arbitrary character) or * (sequence of arbitrary characters).

I have been using the regular expression pattern matching in Javascript to filter the incoming files.

newmember
Champ in-the-making
Champ in-the-making
May I see an example?

Thanks