Page 1 of 1

Extrahieren Sie den Inhalt von Überschriften -Tags (H1 nach H6) unter Verwendung von Regex in Java [Duplikat]

Posted: 18 Aug 2025, 07:40
by Anonymous
Ich möchte den Inhalt aller Überschriften -Tags aus einer Webseite extrahieren.(?i)(.*?)< /code> < /p>
< /blockquote>

Das Problem ist, wenn Kopf-Tag so ist-< /p>


Contents< /code> < /p>
< /blockquote>

Es gibt mir Ausgabe -< /p>


Contents.< /code> < /p>
< /blockquote>

Ich möchte, dass nur < /p>


Inhalte < /p>
< /Blockquote> < />
in Output.>