This would let you include/ignore a leading 1
1{0,1}[2-9]{2}[0-9]{8}
Brent Torrenga wrote:> Hola,
> 
> What would a valid regexp in Asterisk be to identify a NANP number, i.e.,
> NXXNXXXXXX?
> 
> Sincerely,
> 
> Brent A. Torrenga
> 
> Torrenga Engineering, Inc.
> 907 Ridge Road
> Munster, Indiana 46321-1771
> 
> tel:+1 219 836 8918 x325
> fax:+1 219 836 1138
> email:brent.torrenga at torrenga.com
> web:www.torrenga.com
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
>