Hi,
ich schaffe es nicht, automatisch <!-- .... --> zu ignorieren.
Ich möchte gerne den Quelltext in eine Variable packen und Kommentare entfernen.$inhalt =~ s/<!--.*?-->//g;
funktioniert aber nicht immer.
Was mache ich falsch?
Gruß,
Tom
Was passiert denn wenn du
$inhalt =~ s/<!--(.*?)-->//g;
machst ?
Gruß
alligator