<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 7:08 PM, Matías Guzmán Naranjo <span dir="ltr"><<a href="mailto:mortem.dei@gmail.com" target="_blank">mortem.dei@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">wouldn't just writing <date>.*?</date> get me 'week after'?</blockquote></div><br>I'd go for</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><date>[^<]+</date></div><div class="gmail_extra"><br></div><div class="gmail_extra">which will consume line breaks. Of course, this assumes that date only contains text and no other markup.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Phil</div></div>