# request naming rules

**URL:** <https://community.dynatrace.com/t/request-naming-rules/19371>\
**Category:** Open Q&A\
**Tags:** request-attributes\
**Created:** [May 18, 2020, 4:02am UTC](https://community.dynatrace.com/t/request-naming-rules/19371 "2020-05-18T04:02:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alangdima](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@alangdima](https://community.dynatrace.com/u/alangdima)\
**Post date:** [May 18, 2020, 4:02am UTC](https://community.dynatrace.com/t/request-naming-rules/19371/1 "2020-05-18T04:02:15Z")

</div>

Hi everyone, the question is next, I want to group some url’s to then put them in a single chart over a dashboard.

The url’s are something like these:

[https://www.scotiabank.com/services-and-products/object1](https://www.scotiabank.com/services-and-products/object1)

[https://www.scotiabank.com/services-and-products/object2](https://www.scotiabank.com/services-and-products/object2)

[https://www.scotiabank.com/services-and-products/object3](https://www.scotiabank.com/services-and-products/object3)

so I want a regular expression that begins with “https://…until…services-and-products/”

So I tried this:

 ![25066-1589773659973.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/3/c3326528fdb1d2246bf20de330db15a977032cf6.png)

My regular expression is this: “\S+.?services-and-products.?”

So I was expecting to see in the web requests of my service the name of my new rule, in this case is

“prueba\_contains” but I don’t see anything.

In fact I just want to count the number of times that some group of url’s are visited/consumed but without using the “user sessions query (usql)” and put it on a dashboard.

Thanks for your time!!

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 18, 2020, 6:31am UTC](https://community.dynatrace.com/t/request-naming-rules/19371/2 "2020-05-18T06:31:24Z")

</div>

Hi Alan M.

First I think that for regex you should use _ **contains regex** _

About your example:

URL = [www.scotiabank.com/services-and-products/object1](http://www.scotiabank.com/services-and-products/object1)

URL path = services-and-products/object1

Did you tried, **URL** _begin_ _with_ [www.scotiabank.com/services-and-products/object](http://www.scotiabank.com/services-and-products/object)&nbsp; or **URL Path** \*begin with /\*services-and-products/object

```auto
If we are already dealing with dynatrace regex, there is a great online tool that we all should be familiar with:  <a href="http://dynatrace.software/" target="_blank" rel="noopener noreferrer nofollow">http://dynatrace.software/</a> !!!

```

HTH

Yos
