antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
⚜️ Glossy ⚜️

Como Extrair Texto De Um Código Em Html?

6 posts in this topic

     Vamos supor que eu tenha várias linhas como as que mostrarei abaixo:

 

<span wordnr="0" class="highlight">TEXTO1 BLA BLA BLA</span>

<span wordnr="0" class="highlight">TEXTO2 BLA BLA BLA</span>

<span wordnr="0" class="highlight">TEXTO3 BLA BLA BLA</span>

<span wordnr="0" class="highlight">TEXTO4 BLA BLA BLA</span>

 

     Preciso de algum extrator ou algo em que eu coloque o código, e o programa ou algo do tipo me dê somente a parte dos textos "TEXTO1 BLA BLA BLA".

     Não vou fazer isso manualmente, fiz o tópico justamente por querer algo para automatizar.

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

fazes um explode no ">" em php ou c# faz-se bem

Share this post


Link to post
Share on other sites

     Não sei como se faz isso. Li um pouco por cima no Google, mas não entendi. :\

Share this post


Link to post
Share on other sites

Carrega no F12 (Google Chrome) :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now