Thread RE recursion
(24 answers)
Opened by linuxCowboy at 2014-04-15 20:19
Ich hänge fest:
<div ...><div ...</div>Text<div ..</div>..</div>Text Ich brauche auch den Text in dem div! etwa: $text =~ s#<div ((<div )*.*</div>|(?R))*.*</div>##sg; oder: $text =~ s#<div .*?((<div ).*?</div>|(?R))*?.*?</div>##sg; |