Hi, Jose Bertuzzi wrote: > Hello, i have to transform the dialed digits like > this: > > 0[2-3][2-9][2-9]15[4-6]XXXXXX to 549[2-3][4-6]XXXXXX > > for example: 0385 15 6097775 to 549 385 6097775 loadmodule "/usr/local/lib/ser/modules/textops.so" if (subst_uri('/^sip:0([23][2-9]{2})15([4-6][0-9]{6})@/sip:549\1\2@/')) { # macthing successful } Nimal R.