Thursday, March 12, 2009

MySQL with REGEXP

SELECT DISTINCT referer FROM tmp_referer_logs WHERE referer REGEXP '^http://(wvs|www).abcdef.com/[0-9]{2}/[0-9]{2}/[0-9]{2}/$'

No comments: