14 Sep 2023 08:25 PM - edited 15 Sep 2023 07:54 PM
Hello, i need help to make a regex
\n \n <strong>e-CPF:</strong> LUIZ CLAUDIO GOMES DA SILVA - 279\n \n
To output only LUIZ CLAUDIO GOMES DA SILVA
Solved! Go to Solution.
14 Sep 2023 11:51 PM
Hi @natanael_mendes, assuming that name is a placeholder. You can use:
/[[:upper:]]+[[:blank:]]+/gm
15 Sep 2023 04:19 PM
Im getting this
15 Sep 2023 06:27 AM
Hi @natanael_mendes,
you can also use the following for user tagging regex cleanup rule
15 Sep 2023 04:17 PM
i tried this too
15 Sep 2023 04:21 PM - edited 15 Sep 2023 07:55 PM
The sample that i have is this
\n \n <strong>e-CPF:</strong> LUIZ CLAUDIO GOMES DA SILVA - 27\n \n
15 Sep 2023 05:03 PM
Hi @natanael_mendes,
I've tested it and it works with the sample you've provided, you need to add "space" after ">"
> (.*?)-
15 Sep 2023 07:54 PM
i used your code to do what i wanted, was not the solution for real but was very very helpful. thanks alot
15 Sep 2023 01:13 PM
@DanielS thanks for providing the regex to complete this ask.
@natanael_mendes - https://regex101.com/ is a great site to build and test your regex. I highly recommend it. using it, I was able to validate Daniels Solution:
15 Sep 2023 04:17 PM
I tried but the Dynatrace Regex is different from others