Dire que j'ai un fichier texte comme celui-ci:Comment obtenir des tags html?
<html><head>Headline<html><head>more words
</script>even more words</script>
<html><head>Headline<html><head>more words
</script>even more words</script>
Comment pourrais-je obtenir seulement les balises dans une liste comme ceci:
<html>
<head>
<html>
<head>
</script>
</script>
<html>
<head>
<html>
<head>
</script>
</script>
Est-ce une continuation de [votre autre question] (http: // stackoverfl ow.com/questions/4435882/how-to-get-html-tags-from-url)? Si c'est le cas, vous devriez vraiment modifier votre autre question, plutôt que de re-poster – inspectorG4dget