[Freeswitch-users] RegEx Help

Dave Stevenson stevendt at primrosebank.net
Mon Nov 9 12:22:15 PST 2009


I **think** that the following will match any three character strings from 1xx to 399

I want to exclude 100 though, can anyone help me with the required RegEx please ?


^([1-3][0-9][0-9])$

I could (I think) do 

^([1-3][1-9][0-9]|[2-3][0-9][0-9])$

But it does not "feel" elegant - is there a better way ?


regards
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091109/e179c576/attachment-0002.html 


More information about the FreeSWITCH-users mailing list