28 Jun 2023 01:19 AM
Hello, i made a user tag to get my users names from css, the value is
\n <div class="nome-usuario">\n <i class="icon-user2"></i>Olá,\n SGHX \n </div>\n\n
and them this retrieve me "Olá, SGHX." i wanna know how can i remove the "Olá,"
the expression code in the cleanup rule
28 Jun 2023 07:20 AM
If really you are capturing the string as above, then I'd go with:
Olá,\\n([^\\]*+)
I'm not sure how you obtain the value now, but you should capture that by selector:
div.nome-usuario
and then you don't have to deal with the tags and newlines in the cleanup rule.
28 Jun 2023 01:17 PM
im receiving "Olá, name of the user". i want to remove the "Olá,"
28 Jun 2023 02:26 PM
Then just use this regex for the cleanup rule:
Olá, (.*+)