<pre style="font-family: arial,helvetica,sans-serif;"><font size="2">Would something like this work for you?<br><br>&lt;extension name=&quot;some-extension&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^100$&quot;&gt;<br>
    &lt;!-- do something --&gt;<br>  &lt;/condition&gt;<br>&lt;/extension&gt;<br>&lt;extension name=&quot;another-extension&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^([1-9]\d{2})$&quot;&gt;<br>
    &lt;!-- do something else --&gt;<br>  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br></font></pre><font style="font-family: arial,helvetica,sans-serif;" size="2">--Stephen</font><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 12:22 PM, Dave Stevenson <span dir="ltr">&lt;<a href="mailto:stevendt@primrosebank.net" target="_blank">stevendt@primrosebank.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div bgcolor="#ffffff">
<div><font face="Arial" size="2">I **think** that the following will match any three 
character strings from 1xx to 399</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I want to exclude 100 though, can anyone help me 
with the required RegEx please ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">^([1-3][0-9][0-9])$</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I could (I think) do </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">^([1-3][1-9][0-9]|[2-3][0-9][0-9])$</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">But it does not &quot;feel&quot; elegant - is there a better 
way ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">regards</font></div>
<div><font face="Arial" size="2">Dave</font></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>