23930Re: [webanalytics] Google Analytics Regular Expression- URL Filter
- Oct 3, 2009Try this..
$x = "www.example. com/center/ SID-0ABC34- 38B7/home/ resources. asp";
$x =~ s/SID-(.*?)\///gi;
print "\nx is $x";
x is www.example. com/center/ home/ resources. asp
--- On Fri, 10/2/09, r_praski <rpraskievicz@...> wrote:
From: r_praski <rpraskievicz@...>
Subject: [webanalytics] Google Analytics Regular Expression- URL Filter
Date: Friday, October 2, 2009, 1:40 AM
I am trying to filter out session IDs in a URL using a regular expression. Here is an example URL:
www.example. com/center/ SID-0ABC34- 38B7/home/ resources. asp
In my Google Analytics page report I would like to remove SID-0ABC34-38B7 and only see /center/home/ resources. asp as the page name.
Can anyone help me write a regular expression that achieves this?
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>