<div dir="ltr">I&#39;m sorry, burrowed into the reference until my eyes bled.<br><br>What I want is to have a regular expression with an optional ending of &quot;&lt;br&gt;&quot;<br><br>(For those interested,<br>urlMask = r&quot;http://[\w\Q./\?=\R]+&quot;<br>
is ther version w/o the optional &lt;br&gt; ending.)<br><br>I can&#39;t seem to make a string optional- only a single character via []s. I for some reason thuoght it&#39;ll be ()s, but no help there- it just returns only the &lt;br&gt;. Anybody?<br>
<br>Thx,<br>Omer.<br><br><br></div>