cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Regular expression and grouping urls with www or without under same operation

I would like to report following URLs under the same operation but I'm still such a newbie with regex rules that can't get it work 🙂

http://www.example.com/en/Services/

http://example.com/en/Services/

3 REPLIES 3

adam_piotrowicz
Dynatrace Pro
Dynatrace Pro


Start with:


(http://)[w\.]{0,4}(example.com/en/Services/)

With round brackets you point what should be reported, in square specify unwanted characters and in curly, how many times they can occur.

Let me know if it works for you.

It fills my needs perfectly and thank's for the explanation.

You can make www. optional:

http://(www\.)?example\.com/en/Services/