if (oSession.HostnameIs(HOSTSITE) && oSession.uriContains(REGULAREXPRESSION)) {
oSession["ui-color"] = "red";
oSession["ui-backcolor"] = "yellow";
count++;
URLlog(oSession);
.*\.txt$
Specifies single-line mode. Changes the meaning of the dot (.) so it matches every character (instead of every character except \n). You should be able to use [\r?\n] to match an end-of-line sequence. |