I have a schema like this
<h1>
5/2009
<br/>
Question: This is the question
</h1>
I like to get the first part after the <br/> or always the string before the colon :
–> Solution should be “Question”
Attention: This words change – Sometimes its question, othertime may be big question ….
I tried with <h1>(.{0,50}):(.{0,50}) but this returns to much (also the date)
I’m not trained with regex, can anyone help me with this?
Thank you alot.
Try this: