1 Jul
2013
1 Jul
'13
6:43 a.m.
Hi all, I am trying to use regex in an dial plan to match - *10-DigitNumber*6-DigitNumber*X* * *where X can be = 1 or 3 or 12 * ** i.e. 1234567890*123456*1* 1234567890*123456*3* 1234567890*123456*12* I formed following to match first two- ^\d{10}[*]\d{6}[*][13][*]$ And this to match third one ^\d{10}[*]\d{6}[*][1][2][*]$ But i am unable to make single regex that would pass all three using OR or anything.. I want to use this regex in play_n_get_digits. Please Help -Vishal