PHP Ayrıştırma HTML kodu [yinelenen]

0 Cevap php

Possible Duplicate:
Best methods to parse HTML

Nasıl eğer bir şey gibi bir PHP değişkeni düzenlenen HTML kodunu ayrıştırmak:

<h1>T1</h1>Lorem ipsum.<h1>T2</h1>The quick red fox...<h1>T3</h1>... jumps over the lazy brown FROG!

I only get the text that's between the headings istiyorum ve bunu Düzenli İfadeler kullanmak iyi bir fikir olmadığını anlıyorum.

0 Cevap