Thanks Michael, but I want to exclude 100 ?
regards Dave ----- Original Message ----- From: Michael Collins To: freeswitch-users@lists.freeswitch.org Sent: Monday, November 09, 2009 8:38 PM Subject: Re: [Freeswitch-users] RegEx Help On Mon, Nov 9, 2009 at 12:22 PM, Dave Stevenson <steve...@primrosebank.net> wrote: 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 ? expression="^[1-3]\d\d$" will match 100 to 399 -MC ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org