Page 1 of 1

Useful RE for removing many spammy type posts.

PostPosted: Fri Oct 11, 2024 9:44 am
by Quade
^\[[0-9]{1,3}/[0-9]{1,3}\]\s[-]\s["][0-9a-zA-Z]{10}?|^\[[0-9]{1,3}/[0-9]{1,3}\]\s["][0-9a-zA-Z]{10}?|[[0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-]


I use this RE in the filter drop down. It selects much of the spammy posts we see contaminating groups.

Code: Select all
[1/6] "MRgrKVE8RFPDYL0w0h4lvL.7z"
[1/6] "2VrBEu8vEhLqdjKBhklJHB.7z"
[1/7] "PW96nm4CoL2V0e0iCVtjut.7z"
[1/7] "qZyzG8Cc941MBAHb9iyv7u.7z"


Stuff like this.

I thought about just filtering out these files altogether but occasionally it'll hit a real file

After I apply this filter I "Ctrl-A" then "Shift Delete" to delete them from the header database. I do a quick scroll to make sure I haven't caught any real files.

You could probably add this filter to the "global" filter profile as a "subject reject" if you want to hide these files by default.

Re: Useful RE for removing many spammy type posts.

PostPosted: Sun Oct 13, 2024 3:51 am
by JayPea
Thanks, Quade. Building effective Regular Expression patterns has always made my brain ache so I appreciate that being done for me. Added to Global.