2009/7/10 John Hardin <jhar...@impsec.org>: > On Fri, 10 Jul 2009, Sim wrote: > >>> >>> /\bwww(?:\s\W?\s?|\W\s)\w{3,6}\d{2,6}(?:\s\W?\s?|\W\s)(?:c\s?o\s?m|n\s?e\s?t|o\s?r\s?g)\b/i >> >> I'm using it without good results for this format: >> >> bla bla www. site. net. bla bla >> >> Have you any idea? > > There are no digits in that URI. > > If this becomes common, change the \d{2,6} to \d{0,6}, but that will > increase the risk of FP somewhat. > > Dan: there are no parentheses in that RE that attempt to match the message > text, they are all grouping parentheses. >
Good solution John, very thanks! Regards --- Sim