(ebay|paypal)\.\w+\b(?<!(ebay|paypal)\.com)

Put this in your bombRe and you will catch anything that ends with
ebay.*" or "paypal.*" that doesn't actually end in .com.

Right now I see a lot of paypal.us garbage, and I don't fee like dealing
with this again after they decide to use or spoof another TLD that
doesn't support SPF, etc.

Slapping this together was a learning experience while working with
regex Negative Lookbehinds for something else.  This ebay/paypal thing
just seemed too easy to not put in as well.

HTH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to