27 Mar 2023
06:43 AM
- last edited on
27 Mar 2023
07:19 AM
by
Ana_Kuzmenchuk
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
Solved! Go to Solution.
Hi,
You can use [\d,]+\,\d+
Regards,
Radek
Than you. Is there any limitation in Dynatrace related to Regex?
If I use () I get the following:
Thank you.
Hi,
Yes, Dynatrace has limitations, I was asking today if Dynatrace has a tool for scenarios as yours: Dynatrace Regex Tester
This should work "(\d{1,10},\d{0,2})" but I think this can be improved:
Best regards
Thank you. It works properly.