"|" is expression is treated as a parameter separator to "regex" api command. Try instead:
freeswitch@internal> regex m:/1234567890*123456*12*/^((\d{10})\*(\d{6})\*(1|3|12)\*)$/$1 $2 $3 $4
1234567890*123456*12* 1234567890 123456 12
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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