Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - RegEx help, What am I missing here?
  FAQ FAQ  Forum Search   Register Register  Login Login

RegEx help, What am I missing here?

 Post Reply Post Reply
Author
CyberBob View Drop Down
Groupie
Groupie


Joined: 26 January 2005
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote CyberBob Quote  Post ReplyReply Direct Link To This Post Topic: RegEx help, What am I missing here?
    Posted: 09 December 2004 at 11:51am

I'm trying to block anyone putting spaces between letters like (m o r t g a g e) or (v.i.a.g.r.a).

Now so far this is simple but what if they don't follow the pattern and I need a greedy wildcard. Example is (m o rtg a ge) or (v.i.agr.a)

I've tried this and it's test's ok in the Regex test but when I place in in keywords.txt it doesn't work?

\Am\s*o\s*r\s*t\s*g\s*a\s*g\s*e\Z

This should pick up any space between letters or the actual word mortgage

or I've tried

\Av\.*i\.*a\.*g\.*r\.*a\.*\Z

This should pick up a "." between letters or not. Any variation of viagra, v.ia.gr.a viagr.a etc.

What am I missing?

Thanks in advance,

 

Bob

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.188 seconds.