 <h2>Regex</h2> <pre><code>^\&lt;[^\&gt;]+\&gt;.*$ </code></pre> <p><a href="http://regex101.com/r/iU2qX3" rel="nofollow">Demo</a></p> <p>Is what i'd switch to or</p> <pre><code>^\&lt;pstyle\:Chapter\&gt;.*$ </code></pre> <p><a href="http://regex101.com/r/aV0rH3" rel="nofollow">Demo</a></p> <p>or</p> <pre><code>^\&lt;pstyle\:Chapter\&gt;LXXI.*$ </code></pre> <p><a href="http://regex101.com/r/aI1zY5" rel="nofollow">Demo</a></p>