Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Dave Newsgroups: comp.sys.acorn.misc Subject: Regex a couple of questions Date: Thu, 12 Mar 2026 08:43:04 +0000 (GMT) Organization: TLP Lines: 70 Message-ID: <5cb8521565dave@triffid.co.uk> References: <5cb6c8bbebdave@triffid.co.uk> <20260309101645.191086c4@wibble.sysadmininc.com> <5cb78317c1dave@triffid.co.uk> <5cb79b15a1News04@avisoft.f9.co.uk> <5cb7dff274dave@triffid.co.uk> <5cb7e50788News04@avisoft.f9.co.uk> X-Trace: individual.net jS10+A8qVusJe3TPfNLVPAvndAAQMNgzlKn3rJaKDiUlFU8x4m X-Orig-Path: triffid.co.uk!dave Cancel-Lock: sha1:7jf3JtWgabyjELO1oseSUkyU+0Q= sha256:iy+R6Ipb7ty1nmiQ69pLFaY/Txy/OpD2t/LwOTCZJLU= User-Agent: Pluto/3.20 (RISC OS/6.20) NewsHound/v1.54 Xref: csiph.com comp.sys.acorn.misc:21818 In article <5cb7e50788News04@avisoft.f9.co.uk>, Martin wrote: > In article <5cb7dff274dave@triffid.co.uk>, > Dave wrote: > > In article <5cb79b15a1News04@avisoft.f9.co.uk>, > > Martin wrote: > > > In article <5cb78317c1dave@triffid.co.uk>, > > > Dave wrote: > > > > In article , > > > > Jean-Michel 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? 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" 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. I know only a very little about Regex and I was looking for a single filter that would catch "Deril Pillow" regardless of what might be added later. 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 -- Dave Triffid