Note that there are some explanatory texts on larger screens.

plurals
  1. POmatching everything until the next match
    text
    copied!<p>I want to match an html code until next appearance of ... or end.</p> <p>Currently I have the following regex:</p> <pre><code>(&lt;font color=\"#777777\"&gt;\.\.\. .+?&lt;\/font&gt;) </code></pre> <p>Which will match just that:</p> <pre><code>1. &lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;lives up to the customer's expectations. The subscriber is &lt;/font&gt; 2. &lt;font color="#777777"&gt;... You may not want them to be &lt;/font&gt; 3. &lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;the web link, and &lt;/font&gt; </code></pre> <p>But I would want:</p> <pre><code>1. &lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;lives up to the customer's expectations. The subscriber is &lt;/font&gt;&lt;font color="#777777"&gt;obviously thinking about your merchandise &lt;/font&gt;&lt;font color="#000000"&gt;in case they have clicked about the link in your email.&lt;/font&gt; 2. &lt;font color="#777777"&gt;... You may not want them to be &lt;/font&gt;&lt;font color="#000000"&gt;disappointed by simply clicking &lt;/font&gt; 3. &lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;the web link, and &lt;/font&gt;&lt;font color="#777777"&gt;finding &lt;/font&gt;&lt;font color="#000000"&gt;the page to &lt;/font&gt;&lt;font color="#777777"&gt;get other than &lt;/font&gt;&lt;font color="#000000"&gt;what they thought it &lt;/font&gt;&lt;font color="#777777"&gt;will be.. If America makes&lt;/font&gt; </code></pre> <p>Here is the html that I want to parse:</p> <pre><code>&lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;lives up to the customer's expectations. The subscriber is &lt;/font&gt;&lt;font color="#777777"&gt;obviously thinking about your merchandise &lt;/font&gt;&lt;font color="#000000"&gt;in case they have clicked about the link in your email.&lt;/font&gt;&lt;font color="#777777"&gt;... You may not want them to be &lt;/font&gt;&lt;font color="#000000"&gt;disappointed by simply clicking &lt;/font&gt;&lt;font color="#777777"&gt;... &lt;/font&gt;&lt;font color="#000000"&gt;the web link, and &lt;/font&gt;&lt;font color="#777777"&gt;finding &lt;/font&gt;&lt;font color="#000000"&gt;the page to &lt;/font&gt;&lt;font color="#777777"&gt;get other than &lt;/font&gt;&lt;font color="#000000"&gt;what they thought it &lt;/font&gt;&lt;font color="#777777"&gt;will be.. If America makes&lt;/font&gt; </code></pre> <p>And demonstration: <a href="http://rubular.com/r/mmQ4TBZb96" rel="nofollow">http://rubular.com/r/mmQ4TBZb96</a></p> <p>How to match all texts starting with ... ... to get the desired matches above? </p> <p>Thanks for help!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload