User Tag Regex Cleanup

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

Hi @natanael_mendes, assuming that name is a placeholder. You can use:

/[[:upper:]]+[[:blank:]]+/gm

Hi @natanael_mendes,

you can also use the following for user tagging regex cleanup rule

@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:

I tried but the Dynatrace Regex is different from others

i tried this too

Im getting this

The sample that i have is this

\n \n <strong>e-CPF:</strong> LUIZ CLAUDIO GOMES DA SILVA - 27\n \n

Hi @natanael_mendes,

I’ve tested it and it works with the sample you’ve provided, you need to add “space” after “>”

> (.*?)-

i used your code to do what i wanted, was not the solution for real but was very very helpful. thanks alot