27 Mar 2023 02:43 PM - last edited on 27 Mar 2023 03:19 PM 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.
27 Mar 2023 02:54 PM - edited 27 Mar 2023 02:55 PM
Hi,
You can use [\d,]+\,\d+
Regards,
Radek
27 Mar 2023 04:11 PM
Than you. Is there any limitation in Dynatrace related to Regex?
If I use () I get the following:
Thank you.
27 Mar 2023 06:17 PM
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
27 Mar 2023 06:31 PM
Thank you. It works properly.