2009-06-22, 20:44
I'm having problems extracting the plot from XML. It seems that the '!' in '<![CDATA[' makes regex go bananas.
How will I go about cutting out the multi line plot?
Current regex:
<Description>([^<]*)</Description>
XML:
/Tnx
How will I go about cutting out the multi line plot?
Current regex:
<Description>([^<]*)</Description>
XML:
Code:
<Description>
<![CDATA[
Arn Magnusson bliver født i 1150 som søn af stormanden Magnus og hans hustru Sigrid. Han bliver opdraget af cisterciensermunkene ved Varnhem Kloster i Västra Götaland og får her den bedste uddannelse, Europa på det tidspunkt kan præstere...
]]>
</Description>
/Tnx