On Wed, Apr 8, 2009 at 7:26 PM, rickosuavesan <rickos...@yahoo.com> wrote:
> can someone help me with a regexp? i need to exclude URL's with a
> comma before the domain.
Perhaps this will do the trick:
regexp:http://[^,]+\\.com/
Another strategy is the "that which is not expressly permitted is
denied" rule, wherein you would specify what characters _are_ allowed,
and then everything else is an automatic red flag. For instance:
regexp:http://[-.0-9a-z]+\\.com/
Allows domains with a dash, dot, number or lower-case letter before
the dot-com. Anything else (including commas) is out of the running.
--
Joe D'Andrea
Liquid Joe LLC | Google Enterprise Partner
www.liquidjoe.biz | skype:joedandrea | +1 (908) 781-0323