<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>In these lines…</div><div><br></div><div><div>some text</div><div>some text</div><div># TODO some text</div><div>some text</div></div><div><br></div><div>What regular expression can I use to find all lines except "# TODO some text”? </div><div><br></div><div>I thought ((?!^# TODO.+).+) would work but didn’t.</div><div><br></div><div>Thanks</div><div>Ross</div></body></html>