Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › GA4 Filters not working as expected › Reply To: GA4 Filters not working as expected
-
Hi Akansha,
Let me rephrase the requirement again for clarity.
You want to use regular expression filter that includes cumulative page views for regions as specified by strings in
en_au|ja_jp|zh_cn|en_in|en_apc
And you want it page wise . e.g.
- “/en_au/3213/page1”
- “/ja_jp/3123/page2”
- “/zh_cn/512/page3”
- “/en_in/4141/page4”
- “/en_apc/144/page5”
And so on ..
If my above understanding is correct for the requirement , please try the following Regex :
(?:en_au|ja_jp|zh_cn|en_in|en_apc).*
.*: Matches any character (.) zero or more times (*). This part of the regex ensures that the rest of the page path is captured after the specified string.