<div dir="ltr"><div><div><div>Hi Mariusz,<br><br>^((\d{10})\*(\d{6})\*(1|3|12))  is matching for 12 (in third part) but for 1 and 3 it is not matching during IVR.<br></div><br></div>Thanks,<br></div>-Vishal.<br><div><div><br>
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 1:37 PM, Mariusz Czulada <span dir="ltr">&lt;<a href="mailto:manieq@wp.eu" target="_blank">manieq@wp.eu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&quot;|&quot; is expression is treated as a parameter separator to &quot;regex&quot; api command. Try instead:<br>
<br>
freeswitch@internal&gt; regex m:/1234567890*123456*12*/^((\d{10})\*(\d{6})\*(1|3|12)\*)$/$1 $2 $3 $4<br>
1234567890*123456*12* 1234567890 123456 12<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>