Regex Help |
Post Reply ![]() |
Author | |
Trinidad ![]() Guest Group ![]() |
![]() ![]() ![]() ![]() ![]() Posted: 17 July 2003 at 4:39pm |
I need help with regex I have put into my keywords src="http to block any email that has images that the source is a website, works great, the problem is that i need to exclude anything that has "atx" in the http://www. address, ive tried a few things but i just cant get it right, any help would be greatly appreciated, Thanks |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Trinidad, src="http is way to general a block. For example, just about everything you get from Microsoft will get blocked by this (which may or may not be a bad thing). I have worked with several iterations of this kind of block. I am still changing them as I gather more statistics but here is my latest: The first on gets rid of url's using "Dotted IP" notation rather than FQDN's. This can be dangerous but we have taken the stance that if you can't put a DNS host name on it, we don't want it. (href="http://+[\d]) This one detects http OR 3dhttp Then // Then 0 - 15 of ANY character Then a % OR an @ followed by just about anything.
While they don't drop all the "remote" refs, they are doing an excellent job with very few "False Positives" Hope this helps. Dan S.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.137 seconds.