# How to RegEx a user action property?

**URL:** <https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022>\
**Category:** Open Q&A\
**Tags:** regex, user-actions\
**Created:** [March 27, 2023, 1:43pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022 "2023-03-27T13:43:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mareguera](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mareguera](https://community.dynatrace.com/u/mareguera)\
**Post date:** [March 27, 2023, 1:43pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022/1 "2023-03-27T13:43:32Z")

</div>

I have created a user action property to get the revenue using a CCS selector.

I get the following data:

[, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Total: $500,00]

It see that is possible to “Apply cleanup rule” based on regex.

Please, does someone help me to create the proper regex to get only the figure **500,00**?

Thank you

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [March 27, 2023, 1:54pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022/2 "2023-03-27T13:54:18Z")

</div>

Hi,

You can use&nbsp;**[\d,]+\,\d+**

 ![Screenshot 2023-03-27 at 15.54.35.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b40fd408267f05518e297fff1f81979d74dba00d.png)

Regards,

Radek

---

<div class="post-metadata">

**Author:** ![mareguera](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mareguera](https://community.dynatrace.com/u/mareguera)\
**Post date:** [March 27, 2023, 3:11pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022/3 "2023-03-27T15:11:54Z")

</div>

Than you. Is there any limitation in Dynatrace related to Regex?

 ![mareguera_0-1679929812054.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/98c1ebacd5055abc85f01b5f9f01b5bfdfb5ad67.png)

If I use () I get the following:

 ![mareguera_1-1679929883618.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/700f46795a6048f099f9a287b9ea48c327034c38.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 27, 2023, 5:17pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022/4 "2023-03-27T17:17:07Z")

</div>

Hi,

Yes, Dynatrace has limitations, I was asking today if Dynatrace has a tool for scenarios as yours:&nbsp;[Dynatrace Regex Tester](https://community.dynatrace.com/topic/208090)

This should work “(\d{1,10},\d{0,2})” but I think this can be improved:

 ![AntonPineiro_0-1679937401740.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1038049206decefdbb90bfb70fd68636974b45d7.png)

Best regards

---

<div class="post-metadata">

**Author:** ![mareguera](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mareguera](https://community.dynatrace.com/u/mareguera)\
**Post date:** [March 27, 2023, 5:31pm UTC](https://community.dynatrace.com/t/how-to-regex-a-user-action-property/39022/5 "2023-03-27T17:31:51Z")

</div>

Thank you. It works properly.
