Print Page | Close Window

RegEx help please!

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=4197
Printed Date: 05 February 2025 at 7:41am


Topic: RegEx help please!
Posted By: CyberBob
Subject: RegEx help please!
Date Posted: 30 August 2004 at 1:17pm

First I'm a rookie and I've tried a number of times to read and understand the "Syntax of Regular Expressions" and I have a couple examples from Roberto but the light bulb still isn't coming on for me?

Can someone out there help this "half-brain" figure out (in layman's terms) what this line does:

((?i)(((Subject:[^\n]*(.+v\-i\-a\-g\-r\-a).*)\r\n)|(v\-i\-a\-g\-r\-a)|(v\|i\|a\|g\|r\|a)))

It's obviously a Subject and variations of viagra. I'm pretty sure (?i) tells it to ignore case sensitivity but can someone break this down in pieces and explain how it's working.

Thanks,

Bob




Print Page | Close Window