[Python] Como remover tags em um texto em Python?

Discussão em 'Python' iniciado por Stack, Março 20, 2025.

  1. Stack

    Stack Membro Participativo

    Em PHP temos uma função chamada strip_tagsque removem as tags HTML de um determinado texto.

    Exemplo:

    $text = "meu nome é <strong>Wallace</strong>";

    strip_tags($text); // 'meu nome é Wallace'


    Como eu posso fazer pra remover as tags de um texto em Python?

    Continue reading...

Compartilhe esta Página