[Freeswitch-users] RegEx Help

Michael Collins msc at freeswitch.org
Mon Nov 9 13:20:59 PST 2009


On Mon, Nov 9, 2009 at 1:10 PM, <Russell.Mosemann at cune.org> wrote:

> Dave Stevenson <stevendt at primrosebank.net> said:
>
> > ^([1-3][1-9][0-9]|[2-3][0-9][0-9])$
>
> Another possibility.
>
> ^(1(0[1-9]|[1-9]\d)|[2-3]\d{2})
>
>
Yep this is the one. I'm sorry I didn't read the OP correctly the first
time. Skipping 100 and matching 101 is the tricky part, obviously. This
regex should fit the bill.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091109/bd29c30b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list