Good day folks,
I appreciate this is an Acorn NG. But my questions though about Regex
are directly connected to the VRPC-DL upon which I do all my Email and Newsgroup Reading and Writing... (NetFetch).
I've looked at Regex tutorials online and my brain slowly turns to
mush... So please, I need a few point of clarification. :-)
In Regex is .* a real catch all ?
Example: Freds Pillows.*
Will that catch everything that follows Freds Pillows; As after a
while spammers will add a little something after the usual moniker?
So if I have a Name.* Will adding a space after the Name .* give a
different result.
Name.* or Name .*
On Mon, 09 Mar 2026 09:06:38 +0000 (GMT)
Dave <dave@triffid.co.uk> wrote:
Good day folks,
I appreciate this is an Acorn NG. But my questions though about Regex
are directly connected to the VRPC-DL upon which I do all my Email and
Newsgroup Reading and Writing... (NetFetch).
I've looked at Regex tutorials online and my brain slowly turns to
mush... So please, I need a few point of clarification. :-)
In Regex is .* a real catch all ?
Example: Freds Pillows.*
Will that catch everything that follows Freds Pillows; As after a
while spammers will add a little something after the usual moniker?
So if I have a Name.* Will adding a space after the Name .* give a
different result.
Name.* or Name .*
.* is a greedy match for the given character, where . means any
character then yes, it should match until the end. If you added a space
then there would need to be a space in your string to match, but really
you should be using \s+ to catch one or more white spaces.
You can use one of the many regex checkers because not all regex
engines are built equal. I quite like https://regex101.com/ due to its
group highlighting.
You can do Regex tests with the very good software from Martin Avison RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm
In article <a69bf2b65c.jmb@jmc.bruck.orange.fr>,
Jean-Michel <jmc.bruck@orange.fr> wrote:
[Snippy]
You can do Regex tests with the very good software from Martin
Avison RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm
Yes I have a copy of that, but never managed to understand how to
use it.
In article <5cb78317c1dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
In article <a69bf2b65c.jmb@jmc.bruck.orange.fr>,
Jean-Michel <jmc.bruck@orange.fr> wrote:
[Snippy]
You can do Regex tests with the very good software from Martin
Avison RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm
Yes I have a copy of that, but never managed to understand how to
use it.
You could always ask me!
In article <5cb79b15a1News04@avisoft.f9.co.uk>,
Martin <News04@avisoft.f9.co.uk> wrote:
In article <5cb78317c1dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
In article <a69bf2b65c.jmb@jmc.bruck.orange.fr>,
Jean-Michel <jmc.bruck@orange.fr> wrote:
[Snippy]
You can do Regex tests with the very good software from Martin
Avison RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm
I want to create a filter that will see and remove...
"Freds Pillows" and ANY other word(s) the spammer might add to it
at a later date.
A current one has gone from "Freds Pillows to "Freds Pillows #1"
In article <5cb7dff274dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
In article <5cb79b15a1News04@avisoft.f9.co.uk>,
Martin <News04@avisoft.f9.co.uk> wrote:
In article <5cb78317c1dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
In article <a69bf2b65c.jmb@jmc.bruck.orange.fr>,
Jean-Michel <jmc.bruck@orange.fr> wrote:
[Snippy]
You can do Regex tests with the very good software from Martin
Avison RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm
[Snip]
I want to create a filter that will see and remove...
Are you talking about a filter in Pluto?
"Freds Pillows" and ANY other word(s) the spammer might add to it
at a later date.
What field might that appear in?
A current one has gone from "Freds Pillows to "Freds Pillows #1"
If it is the Subject you want to check, simply create a filter on
Subject Contains, and enter Freds Pillows as the check. Set Discard
Message, or move to a Spam box? Regex would not be required.
But I suspect you are after something more complicated?
In article <5cb7e50788News04@avisoft.f9.co.uk>,
Martin <News04@avisoft.f9.co.uk> wrote:
In article <5cb7dff274dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
In article <5cb79b15a1News04@avisoft.f9.co.uk>,
Martin <News04@avisoft.f9.co.uk> wrote:
If it is the Subject you want to check, simply create a filter on
Subject Contains, and enter Freds Pillows as the check. Set
Discard Message, or move to a Spam box? Regex would not be
required.
But I suspect you are after something more complicated?
Mmnn! Many years ago I created a few spam catchers in Pluto
Filters, and I also had/have some filters in Hermes.
However, when I moved all my domains to Orpheus I had access to
Roundcube Webmail and its filtering which sorts the crap before I
even consider downloading any mail.
It doesn't matter which app filters I use the problem is, and a
real life example...
It started as Subject: "Derila Pillow"
Or are there any Regex elements I need to add or use?
It started as Subject: "Derila Pillow"
I created a filter for that, then a while later the spam became "Derila pillows #1" and the original filter didn't pick up and dump the extended name.
Then recently it was modified again to Subject: "Derila Pillow #1 in the United Kingdom", again no pickup.
So my question was about using "Derila Pillow.*" to catch ANY extended variant of it and move it to the Spam folder.
Or are there any Regex elements I need to add or use?
Thanks
Dave
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 6 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 493396:38:50 |
| Calls: | 141 |
| Files: | 538 |
| Messages: | 76,283 |