09 Dec 2020 06:47 AM
Hi guys,
Need some help with regex for place holder of web request naming which need to fetch the word in the end of the url after "-"
From regex tester its look $|-(\w{1,})$ should do the trick
But its not seem to works within Dynatrace.
If removing trailer $ ($|-(\w{1,}) we can see its fetch the word after the first "-"
Any suggestions how to get the word after last "-" in url?
Thanks in advance
Yos
10 Dec 2020 01:19 PM
I was using Regex 101, what if you used: -(\w{1,})$
10 Dec 2020 06:20 PM
Hi @Chad T.
Thanks for your checking, unfortunately its not working with in dynatrace 😞
For some reason the $ at the end of the regex with in dynatrace is not behave like in regex101 or dynatrace regex tester
Yos